Importance of validating information
Using these data definitions, a range of software validation checks can be carried out.An example of a validation check is the procedure used to verify an ISBN.
Simple range and constraint validation may examine user input for consistency with a minimum/maximum range, or consistency with a test for evaluating a sequence of characters, such as one or more tests against regular expressions.
Rules can be collected through the requirements capture exercise.
In evaluating the basics of data validation, generalizations can be made regarding the different types of validation, according to the scope, complexity, and purpose of the various validation operations to be carried out.
The difference between data validity and accuracy can be illustrated with a trivial example.
A company has established a Personnel file and each record contains a field for the Job Grade. An entry in a record may be valid and accepted by the system if it is one of these characters, but it may not be the correct grade for the individual worker concerned.