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
Shweta GargShweta Garg 

saving multiselect Picklist values in required order

Hi,

I have to save mutilselect picklist values in any required Order .So i created visualforce component and added up and down buttton so that picklist values can be ordered.
User-added image
But When I am going to save the selected values in selected order .It does not save into the selected while it gets saved into default order.
let us suppose. I have defined this order( Name,Phone,Address ) in multipicklist but values are stored into the default order  i.e,(name,address,phone)
Default order : order in which picklist values are defined in the field.

Anyone know the workaround this?

Thanks,
Shweta