What you will do is have the form submit to a PHP script. That script will check the user-provided values and provide a refreshed version of the form which gives the user error messages.
Without submitting the form, you can't get PHP to work on the values.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.