Is there any way to have a Masked Input have optional characters?  For
example, if I have a month field, I would want to allow 01, 02, 03, etc, but
also 1, 2, 3, etc.  If I define the mask as "99", then it blanks out the
field if the leading zero isn't added.

I even tried defining my own placeholder as:

$.mask.addPlaceholder('@',"(1|2|3|4|5|6|7|8|9|0)?");

But that still only matches 0-9 and not a "blank" character.

Any ideas?
-- 
View this message in context: 
http://www.nabble.com/Masked-Input-Optional-Characters-tp15091355s27240p15091355.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to