F.10.4- Sample Hidden 02 - Two Page Questionnaire
Created
by Brendan Doss.
|
| << F.10.3- Sample Hidden Fields 01 - Simple Example | AppendixF | F.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:
|
|
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:
|
|
And this is sent to Hidden02-B-Response.asp:
...
<BODY>
<H3>Hidden 02 Response B</H3>
We have you registered as 
<%=Request.QueryString("NameFirst")%>
 <%=Request.QueryString("NameLast")%>
</BODY>
...
|
along with FirstName as hidden text:
|
|
| << F.10.3- Sample Hidden Fields 01 - Simple Example | AppendixF | F.10.5- Sample 03 - Looping Data by Appending the URL >> |

RSS



