Quantcast
Channel: Topics in Category: Can I do this with LimeSurvey? - LimeSurvey forums
Viewing all articles
Browse latest Browse all 17529

Mutually Exclusive Answers to a multiple choice question using javascript - by: whowe1

$
0
0
This one is probably pretty easy for most folks here but I'm not very well-versed in javascript for LimeSurvey so I have no idea how it is done.

I have a multiple choice question and I would like to make it so that only 1 answer can be checked.

I know what you are thinking: use the exclusive answer option or use a radio-button style question.

The reason I do not want to use a radio button style question is because I want the user to be able to select "no answer" (nothing checked) and it seems as though radio buttons lock you in once a selection is made. I could add a "no answer" answer but I do not want to do this.

The reason I do not want to use the exclusive answer option is because you must uncheck your selection to re-enable the others before you can change your answer. I do not like this behavior. I'd like to allow the user to check on anything at any time and automatically have the other choices unchecked without having to uncheck the current selection first.

Appreciate any assistance. Thank you.

EDIT: Also, if anyone knows how to do this with an array(numbers)(checkbox style) question that would also be super helpful. :)

Viewing all articles
Browse latest Browse all 17529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>