Actions

QS

QS:Exclusive option

From LimeSurvey Manual

Revision as of 20:10, 9 March 2018 by Han (talk | contribs) (Created page with "Het attribuut exclusief zorgt ervoor dat bij er bij een meerkeuzevraag maar één keuze gemaakt kan worden. Na een keuze wordt een eerder geselecteerde keuze ongedaan gemaakt....")


Exclusief (exclusive_option)

Beschrijving

Het attribuut exclusief zorgt ervoor dat bij er bij een meerkeuzevraag maar één keuze gemaakt kan worden. Na een keuze wordt een eerder geselecteerde keuze ongedaan gemaakt. Je gebruikt deze optie dus als je wilt dat er maar één keuze gemaakt wordt.

It is also possible to have multiple exclusive options. These must be separated by semicolons.

Example

For a short explanation on answer codes, check first the following wiki section. Once understood, introduce the "AnswerCode" that will trigger the function once selected.

Below, you may see an example where the exclusive option attribute is used.

You can see in the first screenshot that some non-LimeSurvey options are selected:



If you click on the marked option (which is entered in the exclusive option box), the other options will get unmarked and disabled, being left only with the current option checked:



To take a closer look to our example, import the .lsq file into your LimeSurvey installation:

File:Example exclusive option question.zip.