Validators
alpha
Validates that a value contans only letters.
Built in, available sine Validatious 0.9
alphanum
Validates that a value only contains letters and numbers.
Built in, available sine Validatious 0.9
car-regnum-nor
Validates that a value is a valid norwegian car registration number (as in license plates).
confirmation-of
Validates that a value is a confirmation of another field.
Built in, available sine Validatious 0.9
Validates a value as an email address.
Built in, available sine Validatious 0.9
max-length
Validates the length of a field; the first parameter sets the maximum allowed length. The length parameter is available in error messages as ${max}.
Built in, available sine Validatious 0.9
max-val
Validates that a value is no bigger than params[0]. Mostly for numbers, but also works for strings. The value parameter is available in error messages as ${max}.
Built in, available sine Validatious 0.9
min-length
Validate the length of a field; the first parameter sets the minimum length required. The length parameter is available in error messages as ${min}.
Built in, available sine Validatious 0.9
min-val
Validates that a value is bigger than params[0]. Mostly for numbers, but it'll work for strings as well. The value parameter is available in error messages as ${min}.
Built in, available sine Validatious 0.9
numeric
Validates that a value only contains numbers.
Built in, available sine Validatious 0.9
phone-nor
Validates that a value is a valid norwegian telephone number.
required
Validates that a field has a value.
Built in, available sine Validatious 0.9
ssn-nor
Validates that a value is a valid norwegian social security number.
url
Validates that a value is a valid URL.
Built in, available sine Validatious 0.9
word
Validates that a value contains only letters, numbers, spaces, tabs, underscores and dashes.
Built in, available sine Validatious 0.9