I am posting a form to another PHP module for form validation and processing. The form fields are initially filled from values in a MYSQL database. If an error is encountered in the validation, I tell the user to go back, correct the error, and try again. The problem is that when you click the browser back button to go back, all of the user's changes are gone. The user is back to the original values from the database.
Does anyone know of a way to maintain the form variables' last state when returning from validation, when the validation is performed by another PHP module? Perhaps I shouldn't go to another PHP page?