Input text and text areas
- For required fields, is string empty? Remove trailing spaces.
- Scope of string. (numeric, letters only ??)
- Minimum and maximum length of string.
Input file
- Is string empty?
- Does file exist?
- File must be of valid type.
- Limit the type of files that can be uploaded.
Check box
- Grouped check boxes must be same name.
- If multiple check boxes, can check multiple boxes.
- If field is required, at least one check box checked or depending on specs.
Radio button
- Grouped radio buttons must be same name.
- If multiple radio buttons, can only check one radio button per group.
- If field is required, must have ticked a radio button.
Selections (Dropdown)
- Do not put default empty value if required field.
- Check other dropdown in same group if not selected. (like in date and time)
- For group selections, check format or combination.
Input submit (Submit button)
- Do not submit if there are invalid input in form.
Input reset (Reset button)
- All default values must be returned as if the form was loaded again from the start.
No comments:
Post a Comment