Actions

QS

Exclusive option/nl: Difference between revisions

From LimeSurvey Manual

(Created page with "<onlyinclude> ===Exclusief (exclusive_option)===")
No edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 2: Line 2:


<onlyinclude>
<onlyinclude>
===Exclusief (exclusive_option)===
===Exclusieve optie (exclusive_option)===


'''Description'''
'''Beschrijving'''


The exclusive option attribute takes the code of an answer in a multiple option question so that when clicked on the its corresponding checkbox, all the other previously checked options will get unchecked and get marked as read-only (=disabled). This function was created to ensure the data integrity when one of the multiple options in a multiple option question implies that no other option can be selected too. Basically, this feature marks the other attributes as being irrelevant.
Dit attribuut 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.


<div class="simplebox">It is also possible to have multiple exclusive options. These must be separated by semicolons.</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.
Je kunt eerst een [[Adding_answers_or_subquestions/nl|uitleg over antwoordcodes]] lezen. Bepaal eerst de "AntwoordCode" die je exclusief wilt maken.


Below, you may see an example where the '''exclusive option''' attribute is used.
Een voorbeeld:


You can see in the first screenshot that some non-LimeSurvey options are selected:
In dit scherm zijn enkele niet LimeSurvey opties geselecteerd:




Line 22: Line 22:




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:
Als je op de gemarkeerde optie (die is '''exclusief''' gemaakt) klikt, dan worden de andere opties vrijgegeven en uitgeschakeld, er is dan dus maar een optie geselecteerd:




Line 28: Line 28:




To take a closer look to our example, import the .lsq file into your LimeSurvey installation:
Om dit voorbeeld verder uit te werken kun je het lsq-bestand importeren:


[[File:Example_exclusive_option_question.zip]].
[[File:Example_exclusive_option_question.zip]].
</onlyinclude>
</onlyinclude>


[[Category:Question Settings]][[Category:Question Logic Settings]]
[[Category:Question Settings/nl]][[Category:Question Logic Options]]

Latest revision as of 22:10, 19 March 2019


Exclusieve optie (exclusive_option)

Beschrijving

Dit attribuut 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

Je kunt eerst een uitleg over antwoordcodes lezen. Bepaal eerst de "AntwoordCode" die je exclusief wilt maken.

Een voorbeeld:

In dit scherm zijn enkele niet LimeSurvey opties geselecteerd:



Als je op de gemarkeerde optie (die is exclusief gemaakt) klikt, dan worden de andere opties vrijgegeven en uitgeschakeld, er is dan dus maar een optie geselecteerd:



Om dit voorbeeld verder uit te werken kun je het lsq-bestand importeren:

File:Example exclusive option question.zip.