Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 164
  • Last Modified:

Submit multipe pages of an form to a preview page

I have a multipe page form ( because of the legnth of the form) and want to pass the information from page one to page two then to page three and so on... Then I want all information to go to a final page where the user can "preview" all their answers..
0
jayjay21us
Asked:
jayjay21us
  • 3
  • 3
1 Solution
 
coreybryantCommented:
Are you using ASP to do this form or FP e-mail form handler?

-Corey
0
 
jayjay21usAuthor Commented:
ASP
0
 
coreybryantCommented:
You can use hidden fields to capture the previous inputs & then on the last page show everything.  

<input type="hidden" name="Name" size="20" value="<%Response.Write(Request.Form("Name"))%>">

Make sure to Dim it.  And then on the last page:
<input type="text" name="Name" size="20" value="<%Response.Write(Request.Form("Name"))%>">

Will allow them to change it if needed.  If that does not work - let me know & I will push this question over to the ASP board.

-Corey
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
jayjay21usAuthor Commented:
Ok.. Does the input go into the fields or on the page itself?

Or am I to make a hidden field for each field?

I have a form (part1) and have three fields Name, Case Number, Judge's Name.
0
 
coreybryantCommented:
The hidden text input would go into the second, third, fourth, etc
<input type="hidden" name="Name" size="20" value="<%Response.Write(Request.Form("Name"))%>">
<input type="hidden" name="Case_Number" size="20" value="<%Response.Write(Request.Form("Case_Number"))%>">
<input type="hidden" name="Judge_Name" size="20" value="<%Response.Write(Request.Form("Judge_Name"))%>">

And the on the last page:
<input type="text" name="Name" size="20" value="<%Response.Write(Request.Form("Name"))%>">
<input type="text" name="Case_Number" size="20" value="<%Response.Write(Request.Form("Case_Number"))%>">
<input type="text" name="Judge_Name" size="20" value="<%Response.Write(Request.Form("Judge_Name"))%>">

-Corey
0
 
jayjay21usAuthor Commented:
Thanks
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now