Leave checkbox required

Asked

Viewed 44 times

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

  • 2

    Then you must use type="radio" and not type="checkbox", and you have to do the same name to all 6

  • http://answall.com/q/146567/129

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.