McQueen
(Mail)
1
hi,
i want to create form which has got 10 questions and the questions have to be only a checkbox.
now. my problem is, the visitors have to answer 3 questions. i have to disable or lock the the other 7 checkboxes if the visitor select 3 checkboxes.
how can i control this on client side?
McQueen
(Mail)
3
Thanks, it helps me for counting checked checkboxes… so the important one is that;
how can i disable other checkboxes?
highwind
(Jarek571)
4
You can use :not selector, for example:
$("input:not(:checked)").attr("disabled", "disabled");
McQueen
(Mail)
5
an example?
or does someone have an other idea?
highwind has just posted how to disable those unchecked boxes 