Hi everyone.

I'm not much of a web programmer, per se, but I understand programming concepts.

I built a quick submission form that takes the input from about 8 fields or so, which include text boxes, text areas, and radio buttons. When you submit, it sends an e-mail to a specified address as well as the user who submitted the form.

I've got that working just fine, and I added in a quick JS validator too, so that's not the issue.

The problem is, I'd like to split the submission form into two pages. For instance:

User fills out a form with a number of questions.

User clicks "continue", and once it passes validation it moves onto another page.

In this page, the user enters his name and contact info (about 10 fields.) Once the user clicks "submit", I'll validate that form as well and if it all checks out, I would like to submit the form with the contact info and the contents of the previous page.

You can probably guess me error already. Once you fill out the first page and continue, you enter the contact info then send. What you get is an e-mail that only contains the contents you filled out in the second page, not the first. I need to know how to "keep" the information from the first page when you move on to the second. Does this make sense?

It's happening because the first page I use this for the first form:
Code HTML4Strict:
<form name="form1" id="form1" method="post" onsubmit="return validate()" action="page2.html">
Code HTML4Strict:
<form name="form1" id="form1" method="post" onsubmit="return validate()" action="submitform.php">

Maybe the error is there? Meh.

I'm sure it's a pretty easy thing to do, and maybe I'm just overlooking something trivial. If anyone can help I would much appreciate it.