Weird my radio button clickable both test1 and test2

Weird my radio button clickable both test1 and test2
0

#1

But from copy and paste w3schools there the only one? As is correct because there is only need to able to select. Then in my form how can select two times the type=“radio”?

http://jsfiddle.net/4nhx7m9v/

first is mine second is w3schools.

Second form get from w3schools works fine.


#2

You forgot the name attribute in your first radio input.


#3

http://jsfiddle.net/4nhx7m9v/1/

I set but same…


#4

It should have the same name attribute.

<form>
  <input type="radio" id="input_agree_contact" name="Disagree">test1
  <input id="input_disagree_contact" name="Disagree" type="radio">test2
</form>

#5

Oh i not know about this! Thank you so much!