Validator Initilization - mosbymc/validator GitHub Wiki
##Initialization: validator.js will initialize itself for all basic events when loaded. When initialized, the validator listens for the click events on buttons for form validation, and the input, focus, and blur events for individual input validation and help text. It will also listen for keypress events if you want to restrict the type of characters allowed in an input box.
If you would like to have the validator listen for different events during single input validation, simply pass in an array of the events to the "setAdditionalEvents" function. For instance, to make the validator listen for the change event, the initialize function would be called as:
validator.setAdditionalEvents([“change”]);
You can read more about wiring up the validator to listen to other event types on the Adding new event listeners page.
Continue to: Basic Usage