Automatic radio check using spacers
2 answers
One of the radio input functions is that an element in the selected radio receiver cannot be canceled, except for another member of the selected set (as opposed to the set checkbox "set"). those. if you initialize the page with selection, you can ensure that you have a value. Is there a default that you can do this for? Then you can just set checked="checked"
to that item.
Alternatively, you just need to add another validation rule in JS and / or server side.
+2
source to share