Click to See Complete Forum and Search --> : Foms Help


talent
07-01-2003, 11:23 AM
I have multiple forms that I want to ultimately collect information into one page

Form one contains account information
Form two contains order information
Form three contains payment information


How can I collect the results of all of these forms into one page.

Khalid Ali
07-01-2003, 11:28 AM
Originally posted by talent
How can I collect the results of all of these forms into one.

???? what...into one form or get all the data into one string or....?????

talent
07-01-2003, 11:33 AM
the data input on all of the forms should ultimately appear on one page.

talent
07-01-2003, 11:34 AM
Originally posted by Khalid Ali
???? what...into one form or get all the data into one string or....?????

The data input on the multiple forms should ultimatley appear on one page.

Jona
07-01-2003, 12:09 PM
You can't submit more than one form at a time, so you'd have to do this with three forms, on three pages. If you want it all on one page, just use one form.

[J]ona

nkaisare
07-01-2003, 01:28 PM
Pass results from form on page (n-1) as hidden fields in form on page n.

Jona
07-01-2003, 01:34 PM
Originally posted by nkaisare
Pass results from form on page (n-1) as hidden fields in form on page n.

Perhaps before we confuse the heck out of Talent, we should explain better... ;)

What we're saying, Talent, is to have three pages (just for clarification, you could use one page with three different functions depending on the query string, but that's a different story), that process forms. The first one will have a visible form that, when submitted, fills in a hidden form's values on the next page. When the second page's form is submitted, it sends those values and the hidden form's values (from the previous page) to a hidden form in the third page. The third page has a form and a hidden form with the previous two pages' form values. The last submission of the form, would send values from the hidden form of the third page (which contains the values from the first two pages), and the visible form on the third page, to the script that processes it.

[J]ona

talent
07-01-2003, 02:42 PM
Originally posted by Jona
Perhaps before we confuse the heck out of Talent, we should explain better... ;)

What we're saying, Talent, is to have three pages (just for clarification, you could use one page with three different functions depending on the query string, but that's a different story), that process forms. The first one will have a visible form that, when submitted, fills in a hidden form's values on the next page. When the second page's form is submitted, it sends those values and the hidden form's values (from the previous page) to a hidden form in the third page. The third page has a form and a hidden form with the previous two pages' form values. The last submission of the form, would send values from the hidden form of the third page (which contains the values from the first two pages), and the visible form on the third page, to the script that processes it.

[J]ona

Herein lies my issues. How exactly do I pass the values? You also mentioned a query previously. Which form(S) should have one?

Jona
07-01-2003, 02:46 PM
For processing with a single file, you'd use a query string. Each form would have this, to tell the server-side script which part it's currently on, and how to process the incoming data.
As for the server-side script itself, you'll need ASP, PHP, CGI/Perl or JSP (Java not JavaScript), to process the form server-side.

[J]ona