I am trying to get the Picklist values of the Type field in the Account type. When I do this in my Visualforce page:

<apex:inputField value="{!acct.Type}"></apex:inputField>

The only possible value is Individual, but when I look at the Account object, I see several other possible values. Does anyone know how I can populate a selectList with all the values? This seems like it should be very simple.

  • 4
    do you have any record type on Account object or do you see those value on Account detail page ? – Himanshu Mar 30 '16 at 20:21
  • 1
    ... as picklist value subsets can be defined per record-type. – Keith C Mar 30 '16 at 20:54
  • Yep, its all about record type – Yogesh Gupta Mar 31 '16 at 5:09
  • I'm seeing them if I go into the admin area and look at Account details on any account. And it's only applicable on a specific record type. I just don't know how to get all those possible values to display in the type dropdown box for a new Account. – Steve Mar 31 '16 at 12:38

Your Answer

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

Browse other questions tagged or ask your own question.