View Full Version : Passing data from a form on one page to another form on another page

09-07-2010, 05:22 PM

How can I pass form data from a form on one page, to a form on another.

Here is what I need exactly:

I am working on the following website:


There is a form in the header titled "Shedule Service"

I would like a user to enter the details, and when he/she clicks the "Go" button, that information should show up in the corresponding fields on the page below:


This means that the user will have to enter information for other fields but not for those already filled afetr data was passed on from the previous form.

Does it make sense?

Your help will be greatly appreciated.


09-08-2010, 12:33 PM
This has got nothing to do with AJAX, or even Javascript.

Submit your first form to your second form (via the form's "action" attribute), and use a server-side language to prepoulate the revelant fields with the submitted data.