+ Start a Discussion
mukul shah 14mukul shah 14 

Button active and inactive based on picklist value

Hi Everyone,

I have a button and picklist field .. I have to keep the button active when the status is  A and B  and keep it inactive when the status is C. How can I do this? Do I need to write a trigger? Pls help

Nachu RY 4Nachu RY 4
Hi Mukul,

If you want to have in the Standard page:

1)Try creating Two Page layout one with button and one without button.
2)Try creating two record type.(say rec1 and rec2)
3)assign rec1  to Pagelayout wich has button and assign rec2 to pagelayout which has no button.
4) write a workflow in account select (create and everytime it is edited)
    Logic :   satus = c 
    add work action : select field update --> select recordtype ---> select the record type rec2.
(create the another workflow for status = a and b and select the record type rec1).