There is a functionality I need to achieve. I have 2 checkbox fields. But on the vf page I need to show both of them as radio buttons. So if the 'Yes' radio button is selected it should work like the checkbox that is checked and when the 'No' option is selected it would work like when the checkbox is unchecked. Is there a way to achieve this?

Right now when I check the checkbox, I show a div and hide it when it is unchecked. I need to do this using yes/no radio buttons.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.