+ Start a Discussion
SuAkSuAk 

autopopulate Account name lookup field in Customvisualforce page

Hi - I have created a custom visualforce page Account Location. I have overridden the new stad button of Account location with my visualforce page. 
When I go to Account -->Related List-->Account Location. The Account name is not populated automatically in the Account location visualforce page.

<apex:inputField value="{!CustomObject__AccountId__c}"/>

How to populate autopopulate Account name?

Thanks!