Page

F.6.3- Sample Option 01 - One Group

Created by Brendan Doss.
Last Updated by Brendan Doss.  

PublicCategorized as Appendix F.

Not yet tagged
<< F.6.2- Common ErrorsAppendixFF.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>

...

 

Appendixf_image010

 

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:

 

Appendixf_image011

<< F.6.2- Common ErrorsAppendixFF.6.4- Sample Option 02 - Multiple Groups >>

Copyright © 2003 by Wiley Publishing, Inc.

Powered by Near-TimeTerms of Services | Privacy Policy | Security Policy |