Types of client-side validation

Following are 3 types of client-side validation:
1. Field cannot be empty. There must be any value.
2. Format must be valid. Like: age is numeric.
3. Values must be with in valid range. Like: age should not be negative and
month should be between 1 to 12.