Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Telephone Mask

Telephone Mask

Telephone Mask


This seems like it should be a simple thing to do but I'm not having any luck figuring it out. I have a fillable form that has a telephone field. I use the special format mask which works great unless the user has to enter an extension. I tried to create a special mask to allow this with no luck. Basically I need the user to enter the 10 digit number and have it formatted. If the user needs to enter an extension, they would enter X and either a 3 or 4 digit extension. The completed format would look like this: (###) ###-#### X ####. In most cases, the user need only to enter a 10 digit number but some of our offices have a main number with an extension. Any help is greatly appreciated.

RE: Telephone Mask

Is the problem that you are trying to put this all in one field? Extensions are optional data fragments that could be entered in a separate field.

RE: Telephone Mask

Correct. The form designer would like this all to show up in one field but I think the easiest way would be to include a separate field for them to enter an extension.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close