validator type Members
The following tables list the members exposed by validator.
Constructors
Name | Description | |
---|---|---|
validator Constructor |
Fields
Top
Methods
Name | Description | |
---|---|---|
addClassRules | Add a compound class method - useful to refactor common combinations of rules into a single class. | |
addMethod | Add a custom validation method. It must consist of a name (must be a legal javascript identifier), a javascript based function and a default string message. | |
addWrapper | ||
attributeRules | ||
check | ||
checkable | ||
checkForm | ||
classRules | ||
clean | ||
customDataMessage | ||
customMessage | ||
dataRules | ||
defaultMessage | ||
defaultShowErrors | ||
depend | ||
element | Validates a single element, returns true if it is valid, false otherwise. | |
elements | ||
elementValue | ||
errors | ||
errorsFor | ||
findByName | ||
findDefined | ||
findLastActive | ||
focusInvalid | ||
form | Validates the form, returns true if it is valid, false otherwise. | |
format | ||
formatAndAdd | ||
getLength | ||
hideErrors | ||
idOrName | ||
init | ||
invalidElements | ||
normalizeRule | ||
normalizeRules | ||
numberOfInvalids | Returns the number of invalid fields. | |
objectLength | ||
optional | ||
prepareElement | ||
prepareForm | ||
previousValue | ||
reset | ||
resetForm | Resets the controlled form. | |
setDefaults | Modify default settings for validation. | |
showErrors | Show the specified messages. | |
showLabel | ||
size | ||
startRequest | ||
staticRules | ||
stopRequest | ||
valid | ||
validationTargetFor | ||
validElements |
See Also