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
Rakesh Reddy1Rakesh Reddy1 

i have a filed with picklist values 'Yes' and 'No'. I want to have a javascript button on one of the related lists, when I click on that button it should populate error if the picklist value is not 'Yes'. Can anyone please help me on this.

i have a filed with picklist values 'Yes' and 'No'. I want to have a javascript button on one of the related lists, when I click on that button it should populate error if the picklist value is not 'Yes'. Can anyone please help me on this. 
Thanks