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.

calculated value issue.

Featured Replies

Hello everyone, :(

I have a field for zip codes. This is what I have in the calculated value:

Left ( zipcode; 5) & "-" & Right ( zipcode; 4)

It works fine, except for one problem. The user can add letters which I don't want.

So I change the validation to strict data type: Numeric Only.

The Auto-Enter Calculated Value stops working.

I know calculated result must be text, but some of our users are all thumbs and WILL make mistakes. :Whistle:

Anyone know of a work-around?

Thanks.

I suspect your autoenter to be the updating kind which allows you to do like this:

filter(theField;"0123456789")

...in the calc' behind the autoenter!

--sd

  • Author

Thank you very much.

  • Author

Hello Søren,

I setup the filter in the validation by calculation, but it's not allowing me to leave the field empty.

I don't have Not Empty checked. Any idea why this is occuring?

My idea was not to use the validation at all, just massage the data into something usefull!

http://www.databasepros.com/FMPro?-DB=resources.fp5&-lay=cgi&-format=list.html&-FIND=+&resource_id=DBPros000592

--sd

  • Author

Got it. This will work just fine. Thanks again. :(

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.