- What happens once validation is complete?
- Should you validate on Blur?
- What is the main purpose of validating form data?
What happens once validation is complete?
After submit validation
The response of the “validator” is sent back to the user's computer and it's visualized as either a confirmation message (“everything went fine!”) or a set of error messages.” In other words, you fill out the whole form and then press submit.
Should you validate on Blur?
Don't validate while typing, for exactly the reason you describe. There are studies/observations that show the people generally complete the entire form and then return to values that are incorrect. Even if you validate on blur they will tend to complete all fields and will then return to fix.
What is the main purpose of validating form data?
Most often, the purpose of data validation is to ensure correct user input. Validation can be defined by many different methods, and deployed in many different ways. Server side validation is performed by a web server, after input has been sent to the server.