PDA

View Full Version : Multi page form



anilhk@gmail.com
06-09-2010, 03:02 AM
Hi ,

I am looking for a good template to have a form across multiple pages, Can any one let me know where I could find such a form.

thanks

djr33
06-09-2010, 06:20 AM
Using Javascript for this is a very bad idea: it relies both on Javascript and cookies, and many users will not have one (or both). If this is entirely OPTIONAL, then perhaps it may work.

It would also be difficult to program.

You could, however, use PHP to process many forms and in the end do something with all the data. Serverside languages (including PHP and others) are designed to deal with forms and form processing: Javascript isn't.

To really understand the situation, can you explain your goals and why you want multiple pages?

One way to do this would be to use Javascript to have "pagination" of what is really just a single page, but displays one part at a time. Once the entire set of "pages" is complete, the form will actually submit. That might work best, and it would work in non-JS browsers just by displaying it all at the same time.