Version 1.5 glow.forms.ValidateResult
API Quick Reference
JavaScript is required to use the quick reference
This is created automatically by the running validation and passed to the onValidate handler once all eligible tests have finished running.
Constructor
new glow.forms.ValidateResult(eventName)Parameters
- eventName
- Type
- String
Properties
- errorCount
The number of fields that had a failing test.
- Type
- Number
- eventName
The name on the event that was associated with this validation.
- Type
- String
- fields
Each field object has a name, a value {-1, 0, 1}, and a message.
- Type
- Object[]