Skip to main content

Is there a way to disable a button for certain conditions?

  • September 11, 2021
  • 3 replies
  • 82 views

Hi there,

Is there a possible way to dissable a botton for certain records?

Thanks

3 replies

Forum|alt.badge.img+17
  • Inspiring
  • 262 replies
  • September 11, 2021

The actual cell button? No, but if it’s a script you’re launching, you could easily make it ignore input from any group of records you want to discriminate against.


kuovonne
Forum|alt.badge.img+29
  • Brainy
  • 6009 replies
  • September 11, 2021

It depends on the action of the button.

For open url buttons, you can use a formula that is blank under certain conditions. The button will be disabled.

For scripting buttons, you can have the script detect the conditions and only proceed if the right conditions are met. You cannot prevent the script from running at all. The button will not look disabled.

For all other button actions, you cannot selectively disable them for some records.


Forum|alt.badge.img+1
  • New Participant
  • 1 reply
  • July 28, 2024

It depends on the action of the button.

For open url buttons, you can use a formula that is blank under certain conditions. The button will be disabled.

For scripting buttons, you can have the script detect the conditions and only proceed if the right conditions are met. You cannot prevent the script from running at all. The button will not look disabled.

For all other button actions, you cannot selectively disable them for some records.


Hello there

How can i do that for url buttons please ?