Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hello all,

 

I've FM 5.5 for Mac.

 

I've a text field where I want to enter a validation by calculation where users are unable to enter any spaces, commas, dashes, periods or semicolons.

 

What calculation may I use?

 

Best,

 

Posted

users are unable to enter any spaces, commas, dashes, periods or semicolons.

 

Try =

not PaternCount ( YourField, " " ) and not PaternCount ( YourField, "," ) and so on...
  • 2 weeks later...
Posted

 

Try =

not PaternCount ( YourField, " " ) and not PaternCount ( YourField, "," ) and so on...

 

Thanks Comment, worked perfectly!

Your profile says FM 12. Which one's correct?

 

Hi Eos, I've both but this particular DB I was working on was on 5.5. Comment's formula did the trick, thanks anyhow. Best!

Posted

DLM,

 

 

Hi Eos, I've both but this particular DB I was working on was on 5.5.

Perfect. :)

Posted

As a suggestion you could use the calculation option and the filter command to show only acceptable characters. This has the advantage of being more transparent to the user without an annoying validation dialog.

Posted

As a suggestion you could use the calculation option and the filter command to show only acceptable characters. This has the advantage of being more transparent to the user without an annoying validation dialog.

Alas, filter wasn't available in FM5.5; it debuted in FM 7

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