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
ahonahon 

hide picklist value based on another picklist value selected

Is there a way, without creating a new record type, to hide a picklist value (not entire field) if another picklist value is selected?
Best Answer chosen by ahon
Naveen KNNaveen KN
have we tried the field dependencies feature in the picklist?

All Answers

SubratSubrat (Salesforce Developers) 
Hello Ahon ,

As per your requuirement I came across a discusion which might help you with this -> https://salesforce.stackexchange.com/questions/101208/how-to-hide-show-the-fields-based-on-picklist-value

Hope this helps !
Thank you.
Arun Kumar 1141Arun Kumar 1141

Hello Ahon,

As the requirement below are some of the step which need to perform for hide picklist value based on another picklist value selected.

1. Go to setup
2. Click on Object Manager 
3. Go to the Object you that contains the picklist you want to configure.
4. Open the parent picklist field for editing or create a new picklist field if one doesn't exist already.
5. Go down to the Picklist value section.
6. Add or select the desired parent picklist values.
7. Save the changes to the parent picklist field.
8. Create or edit the child picklist field that you want to hide based on the parent picklist value.
9. Go down to the "Picklist Values" section of the child picklist field.
10. Select or Add the desired child picklist values.
11. For each child picklist value that should hidden based on the parent picklist value, click the Inactive checkbox next to the value.
12. Click on Save the changes to the child picklist field.
13. Now you can test the ependent picklist by creating or editing a record that includes the picklist fields.

Thanks

ahonahon

@subrat the discussion or advice is to use code / create a visualforce page, which won't work for the situation.

@Arun Kumar 1141 the two picklists Im referring to are already created on the custom object. how is a picklist specified as parent, or child? 

Naveen KNNaveen KN
have we tried the field dependencies feature in the picklist?
This was selected as the best answer
ahonahon
Field dependencies worked.