Name | Description | Example of Use |
---|---|---|
Range Check | A number or date is within an allowed range | Checking you are old enough to enter a website |
Type Check | Typed input is of the correct data type | When entering a phone number, only integers allowed |
Length Check | Text is not too long or too short | Password must be 8-15 characters |
Presence Check | Mandatory data has been entered; data has not been left blank | Fields marked with * in forms |
Format Check | Typed input matches a specific rule | Email addresses contain an "@" symbol and full stops |
Lookup Table | Input is checked against a list of acceptable inputs | When entering your password, in order to authenticate you |