Im using jquery Masked input plugin.
I have the following mask on a field:
"?999-999-9999 x9999"
Why ?
in begining? because if user entered incomplete number, i dont want the field to clear out so i made the whole thing optional. now when user is entering the numbers is able to see x
always whether or not a phone has extension. How do i get rid of that x
if no extension was given?
Again i do not want to clear out the field, if i use
"999-999-9999? x9999"
yes it works it adds x only when it has extension but if incomplete phone entered it empties the field which is not the goal.
Any help is appreciated thanks alot.