CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
multiple input -- form



Mar 5, 2001, 11:48 AM

Post #1 of 3 (1643 views)
multiple input -- form Can't Post

ok, i have a project. the user has to input information from serveral different pages and on the final page, click a submit button that will send all the info to a specific email address, all in one email. if someone has a prewritten cgi for this, i would be extremely grateful, or if someone has any ideas that would help me, i thank you in advance.


Mar 5, 2001, 5:05 PM

Post #2 of 3 (1641 views)
Re: multiple input -- form [In reply to] Can't Post

Take a look at - they have a script you're searching.


Mar 6, 2001, 2:38 PM

Post #3 of 3 (1631 views)
Re: multiple input -- form [In reply to] Can't Post

Or if you don't want to buy that solution from you can make your own using one of several known methods.

I am partial to the one that uses "hidden" tags and can be found as receipe 19.12 in the "Perl Cookbook".

If you have a multi-page form, then each page has its part of the form available as regular form elements and the user makes their changes. But all the elements from the other pages are also on the page using tags like...

<input type="hidden" name="firstname" value="R.">

Then a single script is used as the action from all the pages. If the user is done, then it goes and does its thing. But if they are just switching pages, it is responsible for building the page with the right part ready for manipulation and all the other parts included as hiddens.

Or you can store all the values you know about in a temporary file on the server until all the parts are there.

Or you can put it in a cookie, but if you have a form big enough to span several pages it is probably too much to store in a cookie.

I am told that the documentation for has more to say on this subject, but as I refuse to use it, I can not say for sure.

Sun Sep 9, 2001 - 1:46:40 GMT, a very special second in the epoch. How will you celebrate?


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives