Two page form
Hi Im using DW CS5.5 plus latest versions of all extensions.
What would be the best way to do this: I have two forms. The first form has 4 fields, name, tel, postcode, email.
Filling in this form (form1.php) successfully I would like to have this form emailed and the data saved into database. After that the second form page appears (form2.php) which is a larger form asking for more details. After filling in form2.php, an email is sent and the data saved into database again which actually joins all the data saved from form1.php.
if user enters form2.php in the url, it would jump to index.php page where form1.php is. Both forms have been made and validated already.
I know I have add hidden fields on second form, Im just confused as to saving data and emailing redirect on the forms.
Please advise, appreciated.