function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mahanandeesh BelagantiMahanandeesh Belaganti 

retriewing a standard picklist fiels

hi,
i want to display a single standard picklist field in visualforce pages this has to be retrieved from that object
Error Error: Could not resolve field 'AutoNumber' from <apex:inputField> value binding '{!emp.AutoNumber}' in page IRTANUMBER


thanks in A davance
techcharlietechcharlie
You have to use the field's API name, eg <apex:inputField> value="{!emp.AutoNumber__c}">.

i hope this helps!