You need to sign in to do that
Don't have an account?
Pass filed value in Command Button
Hi all...
Small Requirement. Pls get me thru.
I have franchisee name lookup field (Account) in a Franchisee custom object. I will be adding few products to each of the franchisee in this page.
Current req is in my lead visualforce page. I have a franchisee field (lookup coming from account) here also.
When i enter the data, i will be clicking a button Find Products.
Soon a data list has to be filled with product and its details based on the data in the lookup field above.
It means i need to pass this lookup field value as param value in button.
Pls suggest any help.
Thanks in advance
If your visualforce page is backed by the custom object that you set the lookup field into, you don't need to pass any information back to the controller, as it will be automatically sent back via the postback request when the button is clicked.
E.g. Page
Controller: