You need to sign in to do that
Don't have an account?

cannot add account field to visual force
I want to add the Account field to the visual force page for contacts. When I add it
<apex:inputField value="{!contact.Account}" required="false"/>
Whenever you want to create a new contact, you get this error
Expression value does not resolve to a field
Error is in expression '{!contact.Account}' in component <apex:inputField> in page quick_create_contact
<apex:inputField value="{!contact.Account}" required="false"/>
Whenever you want to create a new contact, you get this error
Expression value does not resolve to a field
Error is in expression '{!contact.Account}' in component <apex:inputField> in page quick_create_contact
As Account is a look up field use below tag
<apex:inputField value="{!contact.Accountid}" required="false"/>
Mark as best if this resolves the issue