You need to sign in to do that
Don't have an account?
mavs
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
Best Answer chosen by Admin (Salesforce Developers)
Anand@SAAS
Set the value of the "AccountId" to "null" in your controller.