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
bond006bond006 

Can I have Dynamic Custom Multi- Select picklists on a visualforce page?

Hi,

I am supposed to show N number of custom multi-select picklists and update the changes that are done to those picklists.

We have title and ec and Name objects. I have created a ECtitle(Consider it as a jucntion object or only look ups.) object which will connect both of them.EC,Title & ECTitle are childs to Name object.Now on a visualforce page I have to show like below.

1)Each title on the left side will have a custom multi-select picklist on the right side showing all the EC's in them. 
2)If the relationship between any title and EC exists that EC name should come on the right of the picklist.
3)When they hit save all of them should be updated with the changes.


Now the important question:  How can I write it in a code as I dont know how many Titles records will be there for that Name record !!