I was wondering if there is a way to make a radio button select another radio buttons data. For example, a “select all” radio button, would select another radio button. Or In the event of a survey where a question could be rated from 0 to 5, when “select all as 0” is selected, all the following radio buttons are selected at “0”.
I feel like there is an easy way of doing this, but I have no Idea what it would be (possibly javascript?) Thanks!
I was wondering if there is a way to make a radio button select
Share
HTML
JS
Untested at this point but should work-ish.
// EDIT
If you’re determined to use a radio button to actuate the function, the same concept will
work…
…but you’ll have to add extra code to de-check the radio once it’s already selected.