| Global Index | ||||
|---|---|---|---|---|
| date | integer | password | time | year |
| decimal | is_leapyear | phone | uinteger | zipcode |
| money | ||||
| Function: date | Top | Globals Index | Next |
|
syntax: valid.date(<d>,<label>) Validate a date for mm/dd/yyyy numeric format. Note: Allow any of several seperators: /, \, , ;, -, . |
| Function: decimal | Top | Globals Index | Back | Next |
|
syntax: valid.decimal(<Decimal-string>,<label>) Validate a string as a signed integer Compensates: for 1: Misplaced or missing commas. 2: possible use of a semi-colon or embedded spaces. |
| Function: email | Top | Globals Index | Back | Next |
|
syntax: valid.email(<E>,<label>) Validate an email address. |
| Function: integer | Top | Globals Index | Back | Next |
|
syntax: valid.integer(<U>,<label>) Validate a string as a signed integer Compensates: for 1: Misplaced or missing commas. 2: possible use of a semi-colon or embedded spaces. Note: Strips any decimal. |
| Function: is_leapyear | Top | Globals Index | Back | Next |
|
syntax: valid.is_leapyear(<Y>) Is Y a leap year |
| Function: money | Top | Globals Index | Back | Next |
|
syntax: valid.money(<Decimal-string>,<label>) Validate a string as a signed integer Compensates: for 1: Misplaced or missing commas. 2: possible use of a semi-colon or embedded spaces. |
| Function: password | Top | Globals Index | Back | Next |
|
syntax: valid.password(<v>,<lable>,<max>,<min>) Description: Verify password with number of characters between max and min #Note no embedded spaces. |
| Function: phone | Top | Globals Index | Back | Next |
|
syntax: valid.phone Validate text as a phone number. Remove any hyphens. |
| Function: time | Top | Globals Index | Back | Next |
|
syntax: valid.time(<T>,<label>) Validate time format. Handle: military and standard am/pm some minor reformatting |
| Function: uinteger | Top | Globals Index | Back | Next |
|
syntax: valid.uinteger(<U>,<label>) Validate a string as an unsigned integer Compensates: for 1: Misplaced or missing commas. 2: possible use of a semi-colon or embedded spaces. Note: Strips any decimal. |
| Function: year | Top | Globals Index | Back | Next |
|
syntax: valid.year(<Year-string>,<Label>) Validate an unsigned, 4-digit year |
| Function: zipcode | Top | Globals Index | Back |
|
syntax: valid.zipcode(<code>,<label>) Validate text as a 5-or-9-digit zip code. |