function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BAGELBAGEL 

Show / Hide Button

Hi All,

I have a question. Is there a way to show/hide Custom Button based on a condition?
For example, I want my button only show when the Opportunity is Open. Is it possible?
Thanks.


Suresh RaghuramSuresh Raghuram
if your button is on the VF page use disable attribute in the command button tag. impose a of condition and set it to true