new InputValidator(keyOrder, fields)
Constructor for the InputValidator.
Parameters:
Name | Type | Description |
---|---|---|
keyOrder | Array.<string> | An array of strings which are the HTML id's of the fields to validate. |
fields | Array.<object> | An associative array of HTMLInputElement objects which are the input fields to validate. The keys must match those in |
- Source