Web Form Validation

Form validation is testing form data to determine whether it is valid (follows certain rules) or invalid (breaks the rules).

Web form data can be tested at two points in the data submittal process:

  • In the web browser, using JavaScript
  • In the web server, using server-side languages such as PHP

See Forms @ w3schools.com