Page

F.10.4- Sample Hidden 02 - Two Page Questionnaire

Created by Brendan Doss.
Last Updated by Brendan Doss.  

PublicCategorized as Appendix F.

Not yet tagged
<< F.10.3- Sample Hidden Fields 01 - Simple ExampleAppendixFF.10.5- Sample 03 - Looping Data by Appending the URL >>

Sample Hidden 02 – Two Page Questionnaire

Hidden02Form.htm is the first page in a two page form:

 

...

<BODY>

<H3>Hidden 02 A Form</H3>

This is page one of a two-page form.<BR>

<FORM ACTION="Hidden02-A-Response.asp" METHOD=GET NAME="Form1">

FirstName<INPUT NAME="NameFirst"><BR>

<INPUT TYPE="SUBMIT" VALUE="Submit Query">

</FORM></BODY>

...

 

The form requests the value FirstName:

 

Appendixf_image025

 

This value is submitted to the second page of the form, Hidden02-A-Response.asp:

 

...

<BODY>

<H3>Hidden 02 Response A</H3>

This is page two of a two-page form.<BR>

<FORM ACTION="hidden02-B-Response.asp" METHOD=GET>

<INPUT TYPE=HIDDEN VALUE="<%=Request.QueryString("NameFirst")%>"

NAME=NameFirst>

LastName

<INPUT TYPE=TEXT NAME="NameLast"><BR>

<INPUT TYPE="SUBMIT" VALUE="Submit Query">

</FORM></BODY>

...

 

The second form requests the value LastName:

 

Appendixf_image026

 

And this is sent to Hidden02-B-Response.asp:

 

...

<BODY>

<H3>Hidden 02 Response B</H3>

We have you registered as&nbsp

<%=Request.QueryString("NameFirst")%>

&nbsp<%=Request.QueryString("NameLast")%>

</BODY>

...

 

along with FirstName as hidden text:

 

Appendixf_image027

<< F.10.3- Sample Hidden Fields 01 - Simple ExampleAppendixFF.10.5- Sample 03 - Looping Data by Appending the URL >>

Copyright © 2003 by Wiley Publishing, Inc.

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