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.

Hiding a Button

Featured Replies

Hello Board!
 

I am trying to hide a button in a List Layout view.

 

I have two tables connected together. The first table puts a record in the second table through a script attached to the record button.

 

I have this setup as a conditional format, that changes the colour of some text:

 

Count (Job_Logging_Job_Scanning_Terminal::Combined_WO_JobID )≥ 1

 

So, if a record has already been made, then the text goes Red.

 

I have tried using the same code in the button 'Hide Object When' part, but it does not work.

 

I cannot figure this out at all. What am i doing wrong? The text that can be conditionally formatted is part of the same table, part of the same record on the same layout, and it works under that condition. But the button does not want to change.

 

I've also tried making other Layout Objects and trying to hide them under these conditions, but it doesn't work either.

 

Thanks for any input you can give.

 

H

If you still have the conditional format on the button, then that will win I believe, so take it off.

 

As an aside, Count() can be really expensive and you don't really care about the exact count, you just to to verify that there is at least one related record.  So you can do the same with a little more performance by using

 

Not isempty( Job_Logging_Job_Scanning_Terminal::Combined_WO_JobID )

  • Author

v12!!

 

******* It!

 

Thank you for the quicker/lighter method, though!

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.