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
Kate McGeeverKate McGeever 

How to create a hidden dependent field

I have a checkbox field (controlling) with an associated multi-select picklist field (dependent). I want the dependent picklist field to remain hidden UNLESS the checkbox field is checked. I am having trouble working this one. I already have a validation rule where the dependent field must have at least one selection if the controlling field is checked, but I do not want the depedent field to be visible to the users at all if the controlling field is not checked. Does anyone have a solution for this?

Thank you!
Steve_EarlySteve_Early
Kate:

If you are able to delineate the users who should and should not see the multipicklist field when the box is checked, and they could be associated with different User Profiles, then you might be able to do this with two different page layouts and a Workflow Rule. If it "depends" on who should see it, then I don't have an answer for you.