Hi,
is it possible to clear radio buttons using javascript?
I have two elements, a field and a radiobutton. I set javascript section of field element this way:
a) onload when element field is not 99 hide element radio
b) onchange when element field is 99 show element radio
c) onchange when element field is not 99 hide element radio
d) onchange when element field is not 99 clear element radio
a,b,c work but d) is not working, radio choices are kept.
If I use checkboxes instead of radio buttons, it works perfectly, choices are cleared.
Did I miss something?
Thank you!
is it possible to clear radio buttons using javascript?
I have two elements, a field and a radiobutton. I set javascript section of field element this way:
a) onload when element field is not 99 hide element radio
b) onchange when element field is 99 show element radio
c) onchange when element field is not 99 hide element radio
d) onchange when element field is not 99 clear element radio
a,b,c work but d) is not working, radio choices are kept.
If I use checkboxes instead of radio buttons, it works perfectly, choices are cleared.
Did I miss something?
Thank you!
Last edited: