Form field validation
Create validation rules on the form for:
- Required fields are filled out.
- Fields that are suppose to contain a number are actually numeric.
- Boolean fields contain either a "yes" or "no" value.
- String length (min and max) are met.
- Value selected in a select box is one that is in the list of acceptable values.
- Dates are valid dates and are not earlier than the current date.
- Times are valid times and in the required format. Time can be no earlier than current date and current time.
- Scrub values of dangerous characters that could result in application security issues.
- Determine the types of files that can be uploaded to the system and validate that any files uploaded only of those types.