Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to stop users from entering certain characters

Featured Replies

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,

 

Solved by comment

Go to solution

I've FM 5.5 for Mac.

 

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

  • Solution

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...
  • Author

 

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!

DLM,

 

 

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

Perfect. :)

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.

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

version 5.5 seems such a long time ago

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.