How to use Radio Buttons to toggle between Display/Hide of two different groups of fields
Good afternoon! I have Radio Buttons in my form. I would like a certain group of fields to be seen, and the other group of fields to be hidden. When any of the "no" buttons are hit, then I would like the opposite to happen.
When the radio button is marked "yes" I would like:
Field 1 = "visible"
Field 2 = "visible"
Field 3 = "visible"
Field 4 = "hidden"
Field 5 = "hidden"
Field 6 = "hidden"
When the radio button is marked "no" I would like:
Field 1 = "hidden"
Field 2 = "hidden"
Field 3 = "hidden"
Field 4 = "visible"
Field 5 = "visible"
Field 6 = "visible"
I've seen and tried a lot of code for the checkboxes, and I can get it to work occasionally, but I can't figure out how to apply it to the radio buttons. At one point, I did give up on the Radio Buttons and tried to use checkboxes instead, but then I couldn't get the last 4 of the 12 fields to reappear after unchecking the checkbox. Is there a limit to the number of fields a code can apply to? I went to try to copy the code to put it here, but I think I deleted it all. So, since I'm here already asking for help with this problem, I figured I'd find out how to do it with the Radio Buttons.
