Skip to main content The Trailblazer Community will be unavailable from 2/1/2025 to 2/2/2025. Please plan your activities accordingly.
error

We made a wrong turn. Try again.

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
1 answer
  1. Apr 9, 2015, 2:10 PM
    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.
0/9000