I'm working on a contact form. I have the form being checked by a PHP script once it's submitted. If the script finds an error, it will load a new page with the error message and then redirect back to the form after 10 seconds so the user can correct the error.
The problem is that when the form reloads, it is blank.
How can I have the form reload and keep the entered data?
This is what I'm using now:
window.setTimeout("window.location = './contact.htm'", 10*1000 );