PHP form - window to window script

Hey hey hey guys,

If you could point me in the right direction to a tutorial if one exists, I can handle the rest. I need to program a PHP form that accepts input and lets the user go from window to window. So, for example:

Step 1: User fills out info
Step 2: Next window comes into view
Step 3: User fills out info
Step 4: Next window comes into view
Step 5: User fills out info, and submits form

I know how to program the form to send data easily…but it’s the posting from window > window I don’t know.

So, I need the script to store the data from one window to the next, and upon the submission of the data in step 5, I would like the data to be sent via E-Mail.

You have a couple of options.

Once the user has completed a section of the form, you need to get them to hit submit and post the information to the next page where you can extract and store it. The problem with this is that you need to remember to pass the old data with the new each time - http://www.html-form-guide.com/php-form/php-order-form.html

Alternatively you could use javascript to show/hide for elements when you tab out of a field, loosely based on http://anthonygthomas.com/2010/03/14/display-form-fields-based-on-selection-using-jquery/