Input Validation Examples
CFOP/CFOAP/CFOAPAL
A CFOP is 19 characters, and may or may not include hyphens. Valid examples include:
- 1222222333333444444
- 1-222222-333333-444444
- 1.222222.333333.444444
NOTE: CFOAPs must contain 25 characters; CFOAPAs must contain 31 characters; and CFOAPALs must contain 37 characters.
Dates
Dates strings that are numeric require slashes, hyphens, or periods.
Valid Date Formats
- 02/14/05
- 02/14/2005
- 02-14-05
- 02-14-2005
- 02.14.05
- 02.14.2005
- February 14, 2004
- Feb 14, 2005
Invalid Date Formats
- 021404
- 02142004
Email addresses must follow the pattern username@domain.tld.
Valid Email Formats
- fsinatra@illinois.edu
- fsinatra@webservices.illinois.edu
Invalid Email Formats
- fsinatra
- fsinatra@illinois
- @illinois.edu
- fsinatra@uiuc@illinois.edu
Numeric Formats
Valid numeric inputs may have decimals and include negative numbers, for example:
- 1234
- -1234
- 1234.5678
- -1234.5678
- 0.1234
- -0.1234
- .1234
- -.1234
Phone Numbers with Area Code
Phone numbers must include a three-digit area code. Valid formats include:
- (123)456-7890
- 123-456-7890
- 123.456.7890
- 1234567890
Phone Numbers without Area Code
Phone numbers are will be saved without an area code. If an area code is entered it will be disregarded. Acceptable formats include:
- (123)456-7890
- 123-456-7890
- 123.456.7890
- 1234567890
- 456-7890
- 456.7890
University ID Number (UIN)
A University ID Number (UIN) is a nine-digit number beginning with a 6.
ZIP Codes
A ZIP Code may have either five or nine digits, with or without a hyphen. Valid formats include:
- 61864
- 618648180
- 61864-8180