Tony Tony - 1 year ago 116
HTML Question

HTML checkbox - allow to check only one checkbox

I have some checkboxes in each row in my table. Each one checkbox has

because I want to select only one checkbox in each row. But something I'm missing because I'm able to check all of them:

enter image description here

but I want that result:

enter image description here

what am I missing here ?

Answer Source

The unique name identifier applies to radio buttons:

<input type="radio" />

change your checkboxes to radio and everything should be working

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download