...
Open core/webtop/thirdparty/jquery-validate/additional-methods.js to see all documented validation functions.
Differences to Farcry 5
FC6 (jQuery) | Additional | FC5 (Prototype) | Description |
---|---|---|---|
required |
...
required |
...
(not blank) | |
number |
...
validate-number |
...
(a valid number) | |
digits |
...
validate-digits |
...
(digits only) |
...
lettersonly | validate-alpha | (letters only) | ||
alphanumeric | validate-alphanum | (only letters and numbers) | validate-date | (a valid date value) |
validate-email | (a valid email address) | |||
url | validate-url | |||
| validate-date-au | (a date formatted as; dd/mm/yyyy) | ||
| validate-currency-dollar | (a valid dollar value) | ||
| validate-selection | (first option e.g. 'Select one...' is not selected option) | ||
| validate-one-required | (At least one textbox/radio element must be selected in a group) | ||
creditcard |
| Credit Card Number | ||
lettersonly* | validate-alpha | (letters only) | ||
alphanumeric* | validate-alphanum | (only letters and numbers) | ||
dateISO* |
| 2010-09-30 | creditcard||
letterswithbasicpunc*letterswithbasicpunc |
| abc123.?!: | ||
nowhitespace* |
| no blanks | ||
time* |
| 23:59 |