What is field level validation? |
[Edit] |
Answer
A field refers to data that is entered. Field level validation refers to built in rules for the type / range of data that is allowed to be entered in that field. For example in a typical web registration form, valication for the field "Age" would be: 1. It should be an integer (meaning a whole number) between 0 and 100. It cannot accept alphanumeric characters. 2. It should be entered and cannot be left blank - this is my example. In a different form, it is possible that the site allows age to be left blank.
A field such as "Name" may have the following validations: 1. It should not be left blank 2. It should have alphabetic characters without special characters such as *, & etc 3. It should be max 40 characters in length.
There could be different types of fields and the possible validations would be different for each. I have given two examples of field level validations.
These validations are performed to prevent "incorrect" data from being accepted by a system/web site.
First answer by Vbala 99. Last edit by Vbala 99. Contributor trust: 524 [recommend contributor]. Question popularity: 33 [recommend question]
|
Research your answer: |



