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

question on Lookup field
Can we display a lookup field without Account Name being populated in the textbox?
We are grabbing Accountid from Contact Object. Account Name is being populated in the lookup textBox when the component is rendered. Can we remove Account name being populated in the lookup field when the page is rendered?
Please advise
<apex:inputField value="{!con.Accountid}"/>
we just need the LookUp field with empty TextBox



Set the value of the "AccountId" to "null" in your controller.