Check out the LimeSurvey source code on GitHub!

Exclusive option multiple choice - Clear checkboxes

3 years 2 days ago #105308 by ancosema

I've used the multiple choice question with exclusive option several times in my survey and I would like to clear the checkboxes completely instead of only disabling them. Can anybody help me where to do this?


Please Log in to join the conversation.

3 years 1 day ago #105348 by Mazi
Such a feature doesn't exist. You can achieve this with some lines of JavaScript code. Maybe a code example can be found at the forums or at manual -> workarounds ->JavaScript

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)'"

Please Log in to join the conversation.

3 years 1 day ago - 3 years 1 day ago #105376 by DenisChenu
The actual system disabled it at survey time, but when user cluck next, it's empty.

Then if user click on 'exclusive' option by error, he don't have to recheck the checkbox. It's realy better for usuability.

If you want : you can easiliy hide checkbox with this line:
.checkbox-list input.checkbox[disabled]

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
Last Edit: 3 years 1 day ago by DenisChenu.

Please Log in to join the conversation.

2 years 11 months ago #105441 by ancosema
Thanks to both of you for the answer!

I checked the Javascript workaround, but as I'm not the one that is creating the survey, it will become too much complicated...

Hiding the checkbox completely is not the purpose, they asked me just to clear the checkbox completely... could anybody give me a hint on how to adjust it in the code?

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form