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
Sravan R PinnintiSravan R Pinninti 

Enable a field based on the value of a multi-picklist in selectcheckboxes?

Hi,

I have a multi-picklist field called Clarity__c with values 'Clear, Cloudy, Other'. I am using <apex:selectCheckboxes> and <apx:selectOptions> components to render the multi-picklist values as checkboxes and everything looks good. 

Now, I have a requirement to enable a Text field when Calrity__c includes the value 'Other'. How can I achieve the field enablement based on a particular value of the multi-picklist when using <apex:selectCheckboxes>??


Thank You In advance for the help!!