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
PegazysPegazys 

Is there a way to Access De-Selected values from a Multi-Select Picklist

I have a requirement where I have 2 Multi-Select picklists.

 

PickList A and PickList B

 

The values that are deselected from PickList A needs to be populated to the Selected values in PickList B.

 

I am exploring the following 2 options,

 

1. Dependant PickLists

2. Create a Visual Force page and use Javascript - I am not sure how to access the deselected values.

 

Any help is appreciated.

 

Thanks

tom_patrostom_patros

If I envision this, it sounds like you're doing one of those left-and-right columns with the picklist values swapping between each - sound right?

 

I don't think dependant picklists will get you where you want to go. Sounds like you're going to need some Javascript. A library like jQuery would really getting you moving faster on this. Are you familiar with that?

PegazysPegazys

Both the Multi Select Picklists are Custom Objects and they are in a regular Page Layout. This is not a Visual Force page.

 

Trying to explore options that wont involve a Visual Force page.

 

Can this be done using a trigger?