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.