check only one radio button html code example
Example 1: html radio only one checked
<!--Just manke both names equal -->
<input type="radio" name="options" id="1"/>
<input type="radio" name="options" id="2"/>
Example 2: selecting only one radio button
<!-- Just give all the radio buttons the same name.
Html will then allow you to select only one. -->
<input type="radio" name="radAnswer" />