Forum Moderators: coopster
Instead of having validating fields in the form, I would like to just submit them to a validation page, so if the information is correct the user can then click a 'submit' button or something.
At the moment I have the information from the form being submitted to email, and the validation page coming up after that. The problem here is that if the information is incorrect the form has to be submitted to email again and I recieve 2 emails instead of just one.
Any suggestions would be appreciated.
Thanks.
David
if you han a field called email you could have the hidden field like this
<input type="hidden" name="email" value="<?php echo $_POST['email'];?>">
and you just need 1 hidden field for each field in your form. You echo the value of the $POST array into the value portion of the appropriate form element