You need to sign in to do that
Don't have an account?
t.deepthi05
Radio within a Radio Button
I am displaying radio button is visualforce page.I have a requirement where when i click a radio button value it has populate it child radio buttons under it. i.e in the following way
-->fruits
==Apple
==Mango
==orange
-->Vegetables
==potato
==tomato
So from the above example initially it has to display fruits and vegetables when i click on fruits(Apple,Mango,Orange) have to display and when vegetable is selected (Potato,tomato) have to be displayed
-->fruits
==Apple
==Mango
==orange
-->Vegetables
==potato
==tomato
So from the above example initially it has to display fruits and vegetables when i click on fruits(Apple,Mango,Orange) have to display and when vegetable is selected (Potato,tomato) have to be displayed
You can achieve this using <actionfunction> method and rerender attributes. here are the steps.
1. Onselect event of fruits you can pass that value to controller and popuplate child items same thing for Vegetables.
Let me know if you need more details.
Thanks,
Himanshu
Salesforce Certified Developer | Administrator | Service Cloud Consultant
P.S. If my answer helps you to solve your problem please mark it as best answer. It will help other to find best answer.