| << F.6.2- Common Errors | AppendixF | F.6.4- Sample Option 02 - Multiple Groups >> |
Sample Option 01 – One Group
The sample Option01Form.htm uses just one group with three buttons, where the first is checked by default:
...
<BODY>
<H3>Option 01 Form - One Group</H3>
<FORM ACTION="Option01Response.asp" METHOD=GET>
<INPUT TYPE="RADIO" NAME=Member VALUE="pro" CHECKED>Professional<BR>
<INPUT TYPE="RADIO" NAME=Member VALUE="stud">Student<BR>
<INPUT TYPE="RADIO" NAME=Member VALUE="emir">Emiritus<BR>
<INPUT TYPE="SUBMIT" VALUE="Submit">
<INPUT TYPE="RESET" VALUE="Reset">
</FORM></BODY>
...
|
|
The response page is Option01Response.asp:
...
<BODY>
<H3>Option 01 Response - One Group</H3>
<%
Response.Write "We have received your preference to register as a "
Select Case Request.QueryString("Member")
Case "pro"
Response.Write "Professional Member"
Case "emir"
Response.Write "Member Emiritus"
Case "stud"
Response.Write "Student Member"
Case Else
Response.Write "Please contact the webMaster"
End Select
%></BODY>
...
|
And the result of submitting the previous screenshot without making any changes is:
|
|
| << F.6.2- Common Errors | AppendixF | F.6.4- Sample Option 02 - Multiple Groups >> |

RSS


