Module which includes Canadian-specific methods for dojox.validate
See the dojox/validate/ca reference documentation for more information.
Validates Canadian 10-digit phone number for several common formats
Parameter | Type | Description |
---|---|---|
value | String |
Validates Canadian 6 digit postal code
Validates Canadian 6 digit postal code. Canadian postal codes are in the format ANA NAN, where A is a letter and N is a digit, with a space separating the third and fourth characters.
Parameter | Type | Description |
---|---|---|
value | undefined |
Validates Canadian province abbreviations (2 characters)
Parameter | Type | Description |
---|---|---|
value | String[2] |
Validates Canadian 9 digit social insurance number for several common formats
Validates Canadian 9 digit social insurance number for several common formats. This routine only pattern matches and does not use the Luhn Algorithm to validate number.
Parameter | Type | Description |
---|---|---|
value | String |