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
chandraYeruvaRechandraYeruvaRe 

Multi select Picklist - how to se thte values

Hi all,

 

I am developig a web service for a custom Object.I got the multi select pick list values for currencies selected  like "usd,gbp.inr,sgd" etc  from my web service.

Now i am submitting a page with all the selected values from JSP, all the selected currency values in an array.

Now my problem is how to set multiple selected values for currencies selected multipicklist. can anyone please let me know how to set the values to a multi select picklist.Does i need to use any seperator or ?

 

thanks
Chandra.

 

Best Answer chosen by Admin (Salesforce Developers) 
chandraYeruvaRechandraYeruvaRe
Thanks Srini.Thanks for u r help.

All Answers

hisrinuhisrinu

Multi select picklist values are stored with ; separator.

The values will be as follows.

 

test1;test2;test3

 

Hope this helps you

chandraYeruvaRechandraYeruvaRe
Thanks Srini.Thanks for u r help.
This was selected as the best answer