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
SureshSuresh 

Value is not taking in the pageblocksection

Hi,

<apex:pageBlockSection title="Record Type">
              <apex:inputField value="{!Contact.Type__c}"/>
          </apex:pageBlockSection>

Can i know the cause for this error.
Could not resolve field 'Type__c' from <apex:inputField> value binding '{!Contact.Type__c}' in page FirstVFPage


Regards,
Suresh
James LoghryJames Loghry
It's likely that your API name is incorrect for Type__c.  Please go to Setup->Customize->Contacts->Fields, and verify that Type__c is the correct spelling.  If that doesn't fix it, then make sure you're either using the Contact as a standard controller in your visualforce page, or that the you have a "Contact" variable in your controller.