clear the background fill color of radio buttons
With mutually exclusive checkboxes - meaning only one can be checked at a time - is it possible to toggle the background fill color with a javascript in the 'Actions' of a checkbox,
event.target.fillColor = event.target.value !== "Off" ? color.red : color.transparent
Is there anything similar that will work with radio buttons. The buttons all begin with no background fill. When selected, they turn a color based on a script.
With the above script, when the specific button is selected, all radio buttons in the group turn red. When the form section is cleared, the background fill remains… This is something to do with the radio buttons being grouped but I am out of ideas of how to get around this. Resetting the entire form does not clear the background colors of radio buttons either.
Any suggestions?
