Here’s my original post: imask
I got that issue resolved but I’m wondering how to put multiple masks on an input. So for the phone input i want to put something like:
$('#phone').iMask({
type:'fixed',
mask:'(999) 999-9999 || 9 (999) 999-9999',
stripMask: false
});
But obviously that isn’t working (or i wouldn’t be posting). Anyone know how to do multiple conditions in a mask? Thanks
The value in mask is not a regular expression, it’s a custom mask format.
The following should work
If the user doesn’t want to enter the first digit, they can just skip over it by using the arrow to skip over that number
http://jsfiddle.net/GtQKh/23/