Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8759 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am a fairly new user to program. Moving over from Access. I have not found a way to mask or format a phone number automatically. Would like to type just numbers and have mask of (xxx) xxx-xxxx fill for me. How can I do this.

Posted

The most typical method is to use two fields:

Phone# (text)

Phone#Formatted(calculation, text) =

"(" & Left(Phone#, 3) & ")" & Middle(Phone#,4,3) & "-" & Middle(Phone#,7,4)

This calculation assumes the user won't try to enter formatting into the entry field. More complex calculations can be create to handle this.

To use these two fields on a layout. Put the Phone# field under and hidden by the Phone#Formatted field. Assign a button to the top field (Phone#Formatted) with the step Go to field[Phone#]. This has the effect of allowing the user to enter into the hidden unformatted field and view the top formatted field. -bd

This topic is 8759 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.