InputValidator# InputValidator

new InputValidator(keyOrder, fields)

Constructor for the InputValidator.

Parameters:
NameTypeDescription
keyOrderArray.<string>

An array of strings which are the HTML id's of the fields to validate.

fieldsArray.<object>

An associative array of HTMLInputElement objects which are the input fields to validate. The keys must match those in keyOrder.