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 >
Text File  |  1996-10-22  |  911b  |  38 lines

  1. <H2>Sample Form</H2>
  2. <P>
  3. Please provide the following information, then click Submit:</P>
  4.  
  5. <FORM METHOD="POST" ACTION="atumd1.asp#CreatinganHTMLForm">
  6. <P> </P>
  7. First Name: <INPUT NAME="fname" SIZE="48">
  8. <P> </P>
  9. Last Name: <INPUT NAME="lname" SIZE="48">
  10. <P> </p>
  11. Title: <INPUT NAME="title" TYPE=RADIO VALUE="mr">Mr.
  12.         <INPUT NAME="title" TYPE=RADIO VALUE="ms">Ms.
  13.  
  14.  
  15. <P><INPUT TYPE=SUBMIT><INPUT TYPE=RESET></P>
  16. </FORM>
  17. <% If Request.Form("lname")<>"" then %>
  18. <br>
  19. <center>
  20. <table border=2><td><tr>
  21. <H2><CENTER>Thank you</CENTER></H2><P ALIGN=CENTER>
  22. Thank you, 
  23.  
  24.  
  25.  
  26. <%Title = Request.Form("title") 
  27. LastName = Request.Form("lname") 
  28. If Title = "mr" Then%> 
  29. Mr. <%=LastName%>, 
  30. <%ElseIf Title = "ms" Then%> 
  31. Ms. <%=LastName%>, 
  32. <%Else%> 
  33. <%=Request.Form("fname") & " " & LastName %>
  34. <%End If%>
  35. for your order.<BR>
  36. </td></tr></table></center>
  37. <%End if %>
  38.