+ 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!