Constructor
new Tracker()
A generic container for error-messages and values
- Source:
Members
errors :Object
A map containing error messages
Type:
- Object
- Source:
reqData :Object
A map containing input from request data
Type:
- Object
- Source:
values :Object
A map containing parsed values (only for those fields that didn't
fail during checkRequirements method).
Type:
- Object
- Source:
Methods
countErrors()
Returns the number of components for which this instance has
tracked an error.
- Source:
Returns:
Number of components that did not validate.
hasError()
Returns true if an error has been set for at least one component.
- Source:
Returns:
true if form encountered an error.