0 votes
in SoSci Survey (English) by s126860 (165 points)

I want to use zoom selection, and there are three options.
But one of the options needs to be invalid. Is ti feasible?

Btw. how can I set a selection question in which every option (image of product) has detailed information that can be compared?

by SoSci Survey (304k points)
What do you exactly mean be "invalid"? Should it be inpossible to select the option, should an error message be displayed or would you just like some kind of a "flag" in the data set that this was the invalid option?
by s126860 (165 points)
Sorry, I didn't express clearly.
I want the option should be impossible to be chosen.

1 Answer

0 votes
by SoSci Survey (304k points)
selected by s126860
 
Best answer

I want the option should be impossible to be chosen.

That is not actually a feature that was ever intended for that kind of question :)

But, we have modified a few things to make it possible. All you have to do is to place this HTML/JavaScript code below the zoom question. Please change the ID "AB01" to your question's ID. And the "_02" to the number of the option you would like to disable.

<script type="text/javascript">
document.getElementById("AB1_02").setAttribute("disabled", true);
</script>

To ensure that you browser does not work with the old version in the cache, please press F5 to reload the page with the zoom question (in the questionnaire preview).

The option will still display a border when the mouse hovers over it, but it will not be selectable. If you would like to disable the hover effect as, well, please let me know. There's probably also a solution for that.

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...