You need to sign in to do that
Don't have an account?

how to display picklist values and multipicklist values in visualforce page
Hi all
I have a visualforce page form created in which i need to display picklist values as shown in attached file.
Those picklist values are from the contact objects. I am not able to use Apex inputFields since it is not editable when i open this VF page through site.So I am using inputText to display other text fields.Can anybody help how to create this type of picklist in visualforce page.
Thanks
Ramya Balakrishnan
I have a visualforce page form created in which i need to display picklist values as shown in attached file.
Those picklist values are from the contact objects. I am not able to use Apex inputFields since it is not editable when i open this VF page through site.So I am using inputText to display other text fields.Can anybody help how to create this type of picklist in visualforce page.
Thanks
Ramya Balakrishnan
Refer this sample code to create multiselect picklist field in visualforce page:
Modify it as per your need.
For more detail, refer this blog :-
https://developer.salesforce.com/blogs/developer-relations/2012/06/a-multiselect-picklist-visualforce-component
Kindly mark it as the best answer if it helps.
Thank you
Priya Ranjan
Please use below code:-
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh