Jquery Mask with 8 or 9 digit phone

Asked

Viewed 99 times

3

I am using Mask in Jquery to format the phone field with 8 hi 9 digits, but unfortunately I can only leave 8 or 9. If I leave 9, when the user type 8 it erases the whole field, does anyone know how to proceed? Grateful from now on.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.