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.

Disable a button depending on field content

Featured Replies

Hi,

 

I have searched around as I thought this would have been asked numerous times, but couldn't find what I was after.

 

I have a field that stores a 0 or 1 depending on whether there is a related record elsewhere. The button take you to that related record and associated layout. I want to disble the button if the field contents is 0 (no related record).

 

I thought I might be able to use conditional formatting, but there's no 'disable' option (which would be nice).

 

How do I do this please?

 

Thanks,

 

Steve

Solved by doughemi

Go to solution
  • Solution

The button should trigger a script:

 

If[FlagField = 1]

Go to Related  Record[From table: "YourTable"; Using layout "LayoutName"]

End if

  • Author

Thanks both...I'll look harder next time!

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.