0
Please tell me how can i do different checkbox single selection only
In html https://code.sololearn.com/WD77nseTnIaN/?ref=app I am unable to select different option in it please check
2 odpowiedzi
0
multi-select checkbox are done with <input type="checkbox">
<input type="radio"> is designed to group radio button by name, and allow only one to be selected (among name group)
0
"Blood group" and "Bloodgroup" are two different names, so create two radio groups...
if you want only one selection among both, you should give them the same name attribute...
also, you should give each radio option a different value attribute to be able to distinguish user selection (at least on server side) ;)