new Field(fieldElements, validator)
Parameters:
Name | Type | Description |
---|---|---|
fieldElements |
All the html fields elements that match the current Field name | |
validator |
JSValidator | The current validator |
Classes
Methods
-
bindValidationToEvent(type) → {JSValidator.Field.FieldActions}
-
Field API: Bind the current field validation to an event
Parameters:
Name Type Description type
String Event type (keypress, keyup, change, etc.) Returns: