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.

Featured Replies

From only one layout, I want to force a field to be used IF another field is used. I have tried using "If" and "STATUS(CurrentLayoutName)" in the field validation by calculation. I can't find the right combination.

Just a reminder message would work.

Larry

Hi Larry,

Try:

Case((Status(CurrentLayoutName) = "YourLayout") and not IsEmpty(AnotherField) and IsEmpty(TheField); 0 ; 1)

Regards,

Ernst.

  • Author

Ernst,

My fields are STARTAMOUNT and CUSTOMER. If STARTAMOUNT is used I need to force a customer. I also have the opposite on a different layout. Would I use your code in the Calc validation for the field? How would I place the field names.

Thank you for the help.

Larry

Hi Larry,

Code goes indeed in the Calc validation for the CUSTOMER field:

Case((Status(CurrentLayoutName) = "YourLayout") and not IsEmpty(STARTAMOUNT) and IsEmpty(CUSTOMER); 0 ; 1)

Regards,

Ernst.

  • Author

OK, now it gives me a "THIS FIELD CANNOT BE FOUND" error and highlights the ;0;1

I don't know how to relate this to setting the field as "MUST ENTER" or NOT.

Or inputing "not used" would work.

Sorry, I have tried to find examples in help on these calculation and formula codes without any success.

Larry

Hi:

The euro version uses (??? instead of (,).

Judging from the calc, I think the same thing can be achieved using that same syntax without the case statement. But whatever works.

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.