| Hidden Field |
No Value
Value 1
Value 2
Current Value: (Refresh) |
| Email |
|
|
|
|
|
|
|
|
|
| Lone Checkbox |
|
| Check Boxes |
|
| Radio Boxes |
|
| Boolean |
|
|
|
|
Note: accepts Canadian postal codes as well as zip codes. |
|
Credit card numbers, automatically determines CCType. Works for MasterCard, Visa, American Express, Diner's Club, Discover, Enroute, and JCB. Validates based on number of digits, leading digits, digit patterns, and luhn check. Test numbers:
Visa: 4111-1111-1111-1111
MasterCard: 5431-1111-1111-1111
Amex: 341-1111-1111-1111
Discover: 6011-6011-6011-6611 |
|
Checks for US phone numbers. Conforms to NANP A-digit and D-digit requirments (ANN-DNN-NNNN). Area Codes 001-199 are not permitted; Central Office Codes 001-199 are not permitted. Format validation accepts 10-digits without delimiters, optional parens on area code, and optional spaces, dashes, or periods between area code, central office code and station code. Acceptable formats include 2225551212, 222 555 1212, 222-555-1212, (222) 555 1212, (222) 555-1212, etc. |
|
Matches valid US SSN numbers (and a few that are invalid as well--there are many special cases that are out of the scope of this function). Optional hyphens or spaces as delimiters. Rejects matching on all zeros for any individual subfield. Matches only those numbers that fall in range of currently allocated numbers (max is currently 772 as of 2007-02-01. See here for more). Rejects numbers invalidated through use in advertising. See here. |
|
Accepts numeric values only. Performs banker's rounding to obtain integer values. |
|
Accepts any numeric value. |
|
Accepts any numeric value, formats said value for currency. |
|
Accepts any valid date. Will accept, but not save, time values. |
|
Accepts any valid time. Will accept, but not save, date values. |
|
Accepts any integer value between 1899 and 2100. |
|
Accepts numeric values between 1 and 12, or month abbreviations, or month names. |
|
Accepts any valid date/time. |