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
Ravi_SFDCRavi_SFDC 

Pick list & Multipicklist

Hi,

1. I do have one picklist field which has values as YES, NO, and NA as the default value. 

2. I do also have a multipicklist field which has random values. 

Requirement: When I select the picklist value with NO, the multi picklist should be visible otherwise, if I select YES and default value NA the multi picklist shouldn't be visible. Your help is really appreciated.

Thanks
Ravi.
Amol ChAmol Ch
Hi Ravi,

You could not hide/show field based on the other fields value selection in standard page, But you can control the field value based on other fields value selection.

You need to use a Field Dependancy.  Make a picklist field as Controlling field and Multiselect picklist field as a dependent field.

Refer the below article:

https://help.salesforce.com/articleView?id=fields_defining_field_dependencies.htm&type=0

https://developer.salesforce.com/docs/atlas.en-us.fundamentals.meta/fundamentals/adg_simple_app_adv_field_dependencies_try_it_out.htm
Ravi_SFDCRavi_SFDC

Hi Amol,

Thank you for the quick response. The needed is as below

On the New Form entry, when I pick the picklist value as NO, then the multi picklist should be visible as a checkbox for each option 1, option 2 etc. Then the user would be check he needed the option.


Thanks
Ravi

Ravi_SFDCRavi_SFDC
Hi Amol,

I have tried the suggested way, but my issue remains the same.

Thanks
Ravi