Jump 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.
Juggernaut

Featured Replies

I have a calculation field defined as:

If( not IsEmpty(x),If( IsValid(x), 1, 0),1)

Field x is defined to be "strcict data type" numeric only.

However, when field x = "15/yr" or "10-15" the calc field is resulting in 1. Shouldn't IsValid return false in that case?

Thanks in advance!

Courtney

Hey Courtney,

Unfortunately, IsValid() only returns false on a local number field if the field contains only text.

Edited by Guest

  • Author

So what is a good way to test for ANY non-numeric data in a numeric field?

In FM5, I think you'll need to do it like this:

Change the field x to a text field. Then add a calc like this:

tempInvalid_x (calculation, number result) = case(texttonum(x) <> x, 1)

Perform a find on tempInvalid_x = 1

Correct the offending values, then if you wish, change the field type of field x back to a number, with the validation.

Create an account or sign in to comment

Important Information

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

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.