/    Sign up×
Community /Pin to ProfileBookmark

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.

to post a comment
HTML

8 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliJul 01.2003 — [i]Originally posted by talent [/i]

[B]How can I collect the results of all of these forms into one. [/B][/QUOTE]


???? what...into one form or get all the data into one string or....?????
Copy linkTweet thisAlerts:
@talentauthorJul 01.2003 — the data input on all of the forms should ultimately appear on one page.
Copy linkTweet thisAlerts:
@talentauthorJul 01.2003 — [i]Originally posted by Khalid Ali [/i]

[B]???? what...into one form or get all the data into one string or....????? [/B][/QUOTE]


The data input on the multiple forms should ultimatley appear on one page.
Copy linkTweet thisAlerts:
@JonaJul 01.2003 — [font=arial][color=maroon]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.[/color][/font]

[b][J]ona[/b]
Copy linkTweet thisAlerts:
@nkaisareJul 01.2003 — Pass results from form on page (n-1) as hidden fields in form on page n.
Copy linkTweet thisAlerts:
@JonaJul 01.2003 — [i]Originally posted by nkaisare [/i]

[B]Pass results from form on page (n-1) as hidden fields in form on page n. [/B][/QUOTE]


[font=arial][color=maroon]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 [i]and[/i] 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 [b]two[/b] 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.[/color]
[/font]

[b][J]ona[/b]
Copy linkTweet thisAlerts:
@talentauthorJul 01.2003 — [i]Originally posted by Jona [/i]

[B][font=arial][color=maroon]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 [i]and[/i] 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 [b]two[/b] 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.[/color]
[/font]



[b][J]ona[/b] [/B]
[/QUOTE]


Herein lies my issues. How exactly do I pass the values? You also mentioned a query previously. Which form(S) should have one?
Copy linkTweet thisAlerts:
@JonaJul 01.2003 — [font=arial][color=maroon]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.[/color]
[/font]

[b][J]ona[/b]
×

Success!

Help @talent spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...