Weird my radio button clickable both test1 and test2

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”?

first is mine second is w3schools.

Second form get from w3schools works fine.

You forgot the name attribute in your first radio input.

I set but same…

It should have the same name attribute.

  <input type="radio" id="input_agree_contact" name="Disagree">test1
  <input id="input_disagree_contact" name="Disagree" type="radio">test2
1 Like

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