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
mohan.smmohan.sm 

Active/Inactive button for particular picklist values

Hi Everyone,

I have a Button(Send__c) and a pick list field(Status__c) with values New, Modified, Submitted and Synced on Account Object.
1.On click of Button the Status should be set to submitted.
2. Button should be only active if the status is New or Modified else it should be inactive/grayed out.

Can someone pls help me with this requirement?
​Thanks!!
sandeep@Salesforcesandeep@Salesforce
Here I have already replied. 
https://developer.salesforce.com/forums?id=906F0000000kA7TIAU