Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms & Targets

Status
Not open for further replies.

Mighty

Programmer
Feb 22, 2001
1,682
US
Guys,

I would like to do something that I am not sure if it's possible to do. I have three pages - the first is a form, the second is another form and the third is a confirmation page. The first form submits to the second form which in turn submits to the confirmation page. What I want to do is as follows:

1. Form page 1 opens in current window
2. When Form page 1 is submitted, Form page 2 opens in a new window.
3 When form page 2 is submitted, the confirmation page opens in the original window and the new window is closed.

Is this possible.
Mise Le Meas,

Mighty :)
 
If the form elements on form one are consistent and different than the ones on form 2, you can use hidden inputs on form two with values of "form.variablename" and the same name as the element on form 1. Then on your confirmation page, you reference the variables from form two with value="form.variablename".

Hope this helps...
The only dumb questions are the ones that are never asked
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top