1

Hi friends I have one visualforce page in that i have i am converting all name in to picklist,but I can not select more than one value without using control key. How to select more than one value from picklist without using control key. Hoe to send those values into apex class to fetch details.

  • Are you using multi select picklist? – Santanu Boral Mar 23 '17 at 5:48
  • No @SantanuBoral but i am converting textfield into picklist – Umesh B.P Mar 23 '17 at 12:09
  • How are you converting the textfield into picklist? – Shalini SF Mar 23 '17 at 22:06
  • @shalini usind select option i am convering,,, – Umesh B.P Mar 24 '17 at 10:45
  • I see 2 different questions here. 1.How to convert text into picklist 2. How to select multipe values from a picklist without using control. The answer to first question is to populate a picklist in the controller which you can then display on vf page. I have a question back to you for the 2nd question of yours. Why dont you want to select using control key? That is what we commonly use to select more than one value(in .xls) using any tool. – Shalini SF Mar 24 '17 at 10:52
1

You can use this (salesforce style) Multi-Select Picklist

Alternatively, build something on your own using JS+CSS...

  • No Borris I dont want standard multi pick list? – Umesh B.P Mar 23 '17 at 11:38
  • Then you have to build a custom one - loudev.com – Boris Bachovski Mar 23 '17 at 22:16
  • I tried @Boris but i am not able yto send all selected values to the apex class. – Umesh B.P Mar 24 '17 at 10:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.