Sometimes it’s just not worth arguing.

Super quick and nasty solution to a request for checkboxes that are mutually exclusive: one or no checkboxes can be selected. I know, I know; radio selector, right?

Some HTML:

and some JavaScript:

See the Pen Mutually exclusive checkboxes by David Fox (@foxbeefly) on CodePen.0

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.