Checking value after Submit

A

Anonymous

Guest
I have a form on a page, that when submited, calls another php file that puts the information into the database. Is there any way to check the value of a field before it gets sent to the "insert.php" file? Or, do I just have to check it at the "insert.php" file, and if it is wrong redirect to the form and fill the fields back in?

TIA!
Fred
 
you would need to use javascript -OR- check on the input.php page that it posts to and redirect back to the form.
 
Back
Top