jeudi 2 juin 2016

How to limit the amount of checked boxes to 1

So I have a few lists of checkboxes, all with the a slightly different class of single-check with a number on the end indicating which list they're in, since I'm not using radio buttons. How would I go about making it so that any checkbox that is in the same class can't be checked if another checkbox in that class is already checked?

Thanks




Aucun commentaire:

Enregistrer un commentaire