home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
MS_DEV
/
VID
/
SERVER
/
ASF
/
DATA.Z
/
script1.asp
< prev
next >
Wrap
Text File
|
1996-10-22
|
911b
|
38 lines
<H2>Sample Form</H2>
<P>
Please provide the following information, then click Submit:</P>
<FORM METHOD="POST" ACTION="atumd1.asp#CreatinganHTMLForm">
<P> </P>
First Name: <INPUT NAME="fname" SIZE="48">
<P> </P>
Last Name: <INPUT NAME="lname" SIZE="48">
<P> </p>
Title: <INPUT NAME="title" TYPE=RADIO VALUE="mr">Mr.
<INPUT NAME="title" TYPE=RADIO VALUE="ms">Ms.
<P><INPUT TYPE=SUBMIT><INPUT TYPE=RESET></P>
</FORM>
<% If Request.Form("lname")<>"" then %>
<br>
<center>
<table border=2><td><tr>
<H2><CENTER>Thank you</CENTER></H2><P ALIGN=CENTER>
Thank you,
<%Title = Request.Form("title")
LastName = Request.Form("lname")
If Title = "mr" Then%>
Mr. <%=LastName%>,
<%ElseIf Title = "ms" Then%>
Ms. <%=LastName%>,
<%Else%>
<%=Request.Form("fname") & " " & LastName %>
<%End If%>
for your order.<BR>
</td></tr></table></center>
<%End if %>