RobinHerbots/jquery.inputmask — Issue #16: Add onchange function to be called when content changes.
Author: pottmi
Created: 2011-11-12 00:52:18+00:00
State: open

An onchange function that would be called each time the contents of the field is changed could be very useful.

The function should return a boolean that indicates if the field is formatted properly. If the function returns false then the keystroke should be rejected much like the keystrokes are rejected for not matching the pattern associated with the masks.

This could be used to allow much more complicated pattern matching such as detecting the nuances of dates.