+ Start a Discussion
Deepu sfdcDeepu sfdc 

picklist values in Visual force

I have custom object and one picklist field..which have 10 values..I want to display only 5 values in VF page..How can we achieve this ?
Thanks in Advance.
SidhantSidhant

Hi,

There are many ways, one could be described in SFDC blog: https://developer.salesforce.com/blogs/developer-relations/2008/12/using-the-metadata-api-to-retrieve-picklist-values.html

Thanks,

Kindly mark it as an answer if it works so that we can close the thread.