You need to sign in to do that
Don't have an account?
Antonio Jesús Criado Manzaneque
Visualforce Page - Search field to pick an Account
Hi, I'm trying to print a search field on a Visualforce Page that allows the user to choose any account he wants. Something like that:
http://salesforce.stackexchange.com/questions/66583/create-visualforce-input-that-uses-lookup-popup
http://salesforce.stackexchange.com/questions/66583/create-visualforce-input-that-uses-lookup-popup
and push all your logic for the page to extension controller
use {!Contact.AccountId} in inputField tag and you should see all the accounts.
<pre>
<apex:inputField id="account" value="{!Contact.Accountid}" required="false" />
</pre>