Per example, if an input field requires the hour to be entered in a specified format, the 'jQuery Mask Plugin' will strip away any non-numerical characters and automatically style and format the entered numbers, limiting input to the desired format (check screenshots).
The 'jQuery Mask Plugin' is perfect in replacing client-side or server-side data validation for online forms by performing real-time checks of the entered data.
A demo is included with the download package.
Here are some key features of "jQuery Mask Plugin":
· Can handle multiple regex types (string, numeric, alpha-numeric, alpha, mixed)
· Checks entered data in real-time (as it's being typed)
· Can add maximum character length to input fields
· Support for callbacks
· jQuery 1.5 or higher
What's New in This Release: [ read full changelog ]
· Adding compatibility with Zepto.js.