You need to sign in to do that
Don't have an account?
sansha
selectList to look like an input field of type multiselect
Consider the following data:
Name1:GroupA
Name2:GroupA
Name3:GroupB
Name4:GroupB
Name5:GroupB
I need to have a multiselect picklist having data based on the Group selected in some other picklist. e.g. if GroupB is selected then the multiselect picklist should show the values Name3, Name4, Name5.
I was thinking of creating a separate object having two columns Name and Group. This object would then be used to create a lookup field. I then create a selectList and then filter the values in the selectList based on the Group selected. However I want the selectList to look like a multiselect picklist (having the Available and Selected boxes with the arrows in between). Is that possible ?
Please let me know how to achieve this or is there any other method on doing this ?
Just have the value of the selectOptions set to {!mySelectOptions} and an actionSupport for the onchange method of the first list to call the action {!changeOptions}