Actions

QS

Exclusive option/nl: Difference between revisions

From LimeSurvey Manual

(Created page with "<div class="simplebox">Je kunt ook meerdere exclusieve opties hebben. Gebruik dan een puntkomma als scheidingsteken.</div>")
(Created page with "'''Voorbeeld'''")
Line 10: Line 10:
<div class="simplebox">Je kunt ook meerdere exclusieve opties hebben. Gebruik dan een puntkomma als scheidingsteken.</div>
<div class="simplebox">Je kunt ook meerdere exclusieve opties hebben. Gebruik dan een puntkomma als scheidingsteken.</div>


'''Example'''
'''Voorbeeld'''


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

Revision as of 20:11, 9 March 2018


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.

Je kunt ook meerdere exclusieve opties hebben. Gebruik dan een puntkomma als scheidingsteken.

Voorbeeld

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.