The script itself is quite simple. It watches what you type into an input field and matches the typed character against a set of rules. You can define a mask like ’333′ which allows you to input ’033′, ’122′ but not ’555′. In addition to that you can also define complex rules for values like time and date: in the time example you can input everything from 01 to 23 but everything above will be blocked.
Related posts:


Pingback: Tweets that mention InputMask Class for MooTools | ajaxdump -- Topsy.com