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

Display text field value in picklist form on VF page
I have a custom object Custom_object__c having a text field Text__c. I want to display value of the text field of all records of the custom object in the form of picklist on VF page. I need only value (not binded with the record id). I want this picklist to create a page where I can dispaly record with filter option(as filter i want to use this picklist).
Please suggest how I can accomplish this.
Thanks!
Please suggest how I can accomplish this.
Thanks!
Here is simple code
Salesforce has provide a good knowledge doc on this.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_selectList.htm
-Thanks
Ashlekh Gera
All Answers
here is a article on building custom picklist in VF page : http://www.cloudforce4u.com/2013/06/how-to-implement-custom-picklist-in.html
Here is simple code
Salesforce has provide a good knowledge doc on this.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_selectList.htm
-Thanks
Ashlekh Gera