You need to sign in to do that
Don't have an account?
Saran Kumar
VF page - Custom lookup field(Account) - Clicked - Auto populate Users to Custom lookup field
Hi all,
I am new to Salesforce. I have created a Custom Visual force Page in which We have two Custom Fields( Lookup + Picklist). when i Select the Account from the lookup Field, The Corresponding Users on the selected account should get Autopopulated in the nearby Picklist field.
Kindly share your ideas and Sample Codes if any....Thanks in Advance..
Regards,
Saran
You need to create a method in controller class. This method will fetch the users based on selected account.
You need to use onblur event on your lookup field. This onBlur will call a action function and action function will call controller class's method. You will have to reRender picklist field using reRender attribute. Like
Kindly Share your Views and Coding samples...
Regards,
Saran
http://blog.jeffdouglas.com/2011/08/12/roll-your-own-salesforce-lookup-popup-window/
Picklist part will work as I suggested above. Unfortunately I do not have sample code.
regards,
Saran