You need to sign in to do that
Don't have an account?
Saie Shendage 7
Note : I am referring Account object as a 'Society' and Contact object as its respective 'Members'. Secretory_Name__c is my custom field on Account object, secretory is nothing but one the contacts associated with the account.
In the 'Add Secretory' section of this page, I want to display dropdown list which shows me contact names associated with the respective account. Then I want to use that selected contact name to assign it to the secretory field.
Please someone help me with VF page and its custom controller. Thank you in advance.
How to display dropdown list on a VF page and how to retrieve its selected value?
Note : I am referring Account object as a 'Society' and Contact object as its respective 'Members'. Secretory_Name__c is my custom field on Account object, secretory is nothing but one the contacts associated with the account.
In the 'Add Secretory' section of this page, I want to display dropdown list which shows me contact names associated with the respective account. Then I want to use that selected contact name to assign it to the secretory field.
Please someone help me with VF page and its custom controller. Thank you in advance.
Hi Saie Shendage,
Please find the solution.
If you find this solution is helpful for you then please mark best answer
All Answers
>> https://developer.salesforce.com/forums/?id=906F000000098SBIAY
The above link has an example of using a dropdown in visualforce page along with a controller you can try checking this and modify it as per your use case.
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.
Hi Saie Shendage,
Please find the solution.
If you find this solution is helpful for you then please mark best answer