You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the mask I created for an office phone number.
$('#phone-office').mask("(000) 000-0000 9999", { clearIfNotMatch: true }); See on Fiddle
The last four digits are the phone extension and have to be optional. If there is no extension, the mask should remains the value but it clears it. The mask keep the value only if I add a space at the end.