You need to sign in to do that
Don't have an account?
vijay kumar k
How to create vf page to show account names in picklist, select one of it shows the corresponding contact's in picklist
Actually my scenario is
In vf page shows picklist values are account names and onchange the page shows contact picklist values are child contacts names of above account names. Finally onchange the page shows another picklist option & value of this is opportunity names of above selected contact name.
Shows the errors if no contact of account and no opportunity of contact when really does not have child record in parent level
In vf page shows picklist values are account names and onchange the page shows contact picklist values are child contacts names of above account names. Finally onchange the page shows another picklist option & value of this is opportunity names of above selected contact name.
Shows the errors if no contact of account and no opportunity of contact when really does not have child record in parent level
<----------- VF Page --------------->
Please mark as best answer if it helps you.
Thanks
Akshay
All Answers
Below is the sample code which I have tested in my org and it is working fine.
Visualforce:
Controller:
I hope it helps you.
Kindly let me inform if it helps you and close your query by marking it as solved so that it can help others in future.
Thanks and Regards,
Khan Anas
You can try the following code. Hope this will help you
Vf Page:
Thank you
Ajay Dubedi
Similarly in opportunity.
please help me to do this.
thanky you
Above you have metioned to change the opportunity dropdown on selected contact . But is it to have a custom relationship with contact because there is no standard relationship.If you meant to change Opportunity dropdown according to Account ,here is the code:
visualforce page:
apex controller:
that is my fault but how to show error message if there is no contacts of selected account and if have a contact leave error .
thanky you
<----------- VF Page --------------->
Please mark as best answer if it helps you.
Thanks
Akshay
how can i over ride a clone button on above vf page and shows the how many no of click the clone button used in custom field at account object.