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

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

Recommended Posts

Posted (edited)

We get questions about how to format a text field so that the user doesn't override fomatting set place by the developer. In orther words, the users will paste in data from the clipboard, that uses a different fonts, or they type in a phone number XXX-XXX-XXXX or XXXXXXXXXX, etc and you want it to display (XXX) XXX-XXXX etc.

You can control this somewhat by using the Auto Enter >> Calculated Value.

There are several example files showing the use of the Auto Enter Function, but sometimes we spend a lot of effort spelling out the steps involve.

The purpose of this tip, is to show visually the steps.

[color:blue]To start, you need to go into the Manage Database (a.k.a. Define Fields).

med_1265927381-OptionandfileSelect.jpg

[color:blue]Next select the checkbox "Calculated value" or click on the button "[color:red]Specify"

med_1265927436-SelectSpecify.jpg

[color:blue]Next, type in, or select the Text Function to be use (or ganged)

med_1265927629-Put_your_calculation_in_t

close the window, and besure to deselect the checkbox Do not replace existing value of the field (if any)

thumb_1265927814-Deselect_DoNotReplace.j

Click [color:blue]Okay and leave the Manae Database if done.

HTH

Lee

OptionandfileSelect.jpg

SelectSpecify.jpg

Put_your_calculation_in_the_box.jpg

Deselect_DoNotReplace.jpg

Edited by Guest
Posted

Sorry about the double files, they really messed this up. :)

Just go to the middle where the text starts, and ignore the jpegs at the top.

Lee

  • 2 months later...
  • Newbies
Posted

Hi.

Your solution es very nice,

it's work wonderful to me.

i'm do an adaptation, couse in Mexico, the phone's code not are the same in all the states.

we have 3 states with prefix = 2 numbers (thank's God, only 3), the others have 3 numbers. (total = 989) and i have the archive in fm7, but i can't use it.

then i use your example and make a Case routin. and after write a CF, wooooow, very nice aond powerfull

again, thaks so much.

(do you see, i dont speak english, but i'm sforce)

please forget me

Pedro

Posted

Hi Pedro, and welcome to the Forum.

I read your post the yesteday, but I didn't see a question in it. Are you asking for help?

Lee

×
×
  • Create New...

Important Information

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