1
I need a function where selecting a checkbox is required. I have 6 checkboxes and user must select only one.
Ex:
<input type ="checkbox" name="xx"...>
<label for="xx".......>
<input type ="checkbox" name="xx"...>
<label for="xx".......>
Thanks
1
I need a function where selecting a checkbox is required. I have 6 checkboxes and user must select only one.
Ex:
<input type ="checkbox" name="xx"...>
<label for="xx".......>
<input type ="checkbox" name="xx"...>
<label for="xx".......>
Thanks
Browser other questions tagged javascript checkbox
You are not signed in. Login or sign up in order to post.
Then you must use
type="radio"and nottype="checkbox", and you have to do the samenameto all 6– Sergio
http://answall.com/q/146567/129
– Sergio