Example Forms - Course Registration

File 1 : register.html

  1. <HTML>
  2. <HEAD>
  3. </HEAD>
  4. <BODY bgcolor="blue" text="white">
  5. <form name="frmfree" method="post" action="reply.asp">
  6. <TABLE WIDTH=75% BORDER=2 CELLSPACING=1 CELLPADDING=1 ALIGN = "CENTER">
  7. <TR>
  8. <CENTER>
  9. <FONT face=fantasy size=10>COURSE REGISTRATION </FONT></CENTER>
  10. </TR>
  11. <TR>
  12. <TD>APPLICANT NAME</TD>
  13. <TD><INPUT TYPE=TEXT NAME=APPNAME SIZE=30></TD>
  14. </TR>
  15. <TR>
  16. <TD>ADDRESS</TD>
  17. <TD><INPUT TYPE=TEXT NAME=APPADD SIZE=30></TD>
  18. </TR>
  19. <TR>
  20. <TD>SELECT COURSE</TD>
  21. <TD>
  22. <SELECT CASE NAME="SECOURSE"><BR>
  23. <OPTION VALUE=1>C
  24. <OPTION VALUE=2>CPP
  25. <OPTION VALUE=3>JAVA
  26. <OPTION VALUE=4>J2EE
  27. <OPTION VALUE=5>.NET
  28. </SELECT>
  29. </TD>
  30. </TR>
  31. <TR>
  32. <TD>TRACK</TD>
  33. <TD><INPUT NAME=TRACK TYPE=RADIO VALUE=1>SLOW TRACK &ensp;&ensp; <INPUT NAME=TRACK TYPE=RADIO VALUE=2>FAST TRACK</TD>
  34. </TR>
  35. <TR>
  36. <td></td>
  37. <TD><CENTER><INPUT NAME=BUTTON1 TYPE=SUBMIT VALUE="SUBMIT"></CENTER> </TD>
  38. </TR>
  39. </TABLE>
  40.  
  41.  
  42.  
  43. <P>&nbsp;</P>
  44.  
  45. </BODY>
  46. </HTML>

File 2 : reply.asp

  1. span style="color: #cc0000;">"TRACK""1""2""SECOURSE""1"
  2. COURSE = "C""1""2 MONTHS""1 MONTH""2"
  3. COURSE = "C++""1""3 MONTHS""1 MONTH""3"
  4. COURSE = "JAVA""1""4 MONTHS""2 MONTHS""4"
  5. COURSE = "J2EE""1""6 MONTHS""3 MONTHS""5"
  6. COURSE = ".NET""1""6 MONTHS""3 MONTHS""GENERATOR""Microsoft Visual Studio 6.0""APPNAME""APPADD""1""SLOW""FAST"