Today, a variety of data validation approaches are employed. Here are a few examples:
-
Field-level validation: Validation is performed on each field to verify that the data supplied by the user is free of mistakes.
-
Form-level validation: Validation is performed after the user has completed working with the form but before the data is stored.
-
Data saving validation: When a file or database record is saved, it undergoes this type of validation.
-
Search criteria validation: When a user searches for anything, this type of validation is used to ensure that genuine results are delivered.