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

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

Recommended Posts

Posted

Hi Paul, Welcome to the Forum. FM Help explains it. You could also do a search here to find many posts on the subject. Here is one simple example for using Filter():(

Users type a credit card number in a field. But they frequently also type dashes or spaces. You want the field to only contain numbers for uploading to credit card service. So, on your CreditCardNumber field, Options > Auto-Enter, select by Calculation and type:

Filter(CreditCardNumber ; "0123456789")

Anything you put in the Filter will be the only acceptable characters. Then, after exiting the calc box be SURE to unclick 'Do Not Replace Existing Value' and the field will self-correct itself (if someone goes back and adds a dash, it will simply remove it).

On text if you want all alpha acceptable, Filter() requires both upper and lower case be included as Filter(field; "ABCDEabcde"). I hope that helps you. If you have more specific needs, let us know.

This topic is 7437 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.