Actions

QS

Array filter exclude/nl: Difference between revisions

From LimeSurvey Manual

No edit summary
No edit summary
Line 8: Line 8:
Met een array uitsluitfilter kun je een meerkeuzevraag gebruiken om te selecteren welke responsen '''niet''' getoond worden in een vervolglijst, array of meerkeuzevraag.
Met een array uitsluitfilter kun je een meerkeuzevraag gebruiken om te selecteren welke responsen '''niet''' getoond worden in een vervolglijst, array of meerkeuzevraag.


<div class="simplebox">The subsequent questions can be filtered on any array question type, including:
<div class="simplebox"> De volgende vragen  kunnen gefilterd worden voor elk array vraagtype, inclusief:
*Multiple choice
*Meerkeuzevragen
*Multiple choice with comments
*Meerkeuzevragen met opmerkingen
*Multiple short text
*Meerdere korte vrije teksten
*Multiple numeric
*Meervoudige numerieke invoer
*Array (5 point, 10 point, Yes/No/Unknown, Increase/Same/Decrease, Column)
*Array (5 punten, 10 punten, Ja/Nee/Weet niet, Meer/Gelijk/Minder, met kolom)
*Array (Dual Scale, Text, Numbers)
*Array (Dubbele schaal, teksten, getallen)
*Ranking
*Rangschikken


Verder kunnen deze vraagtypes worden gefilterd.
Verder kunnen deze vraagtypes worden gefilterd.

Revision as of 14:09, 2 April 2018


Array uitsluitfilter (array_filter_exclude)

Beschrijving

Met een array uitsluitfilter kun je een meerkeuzevraag gebruiken om te selecteren welke responsen niet getoond worden in een vervolglijst, array of meerkeuzevraag.

De volgende vragen kunnen gefilterd worden voor elk array vraagtype, inclusief:
  • Meerkeuzevragen
  • Meerkeuzevragen met opmerkingen
  • Meerdere korte vrije teksten
  • Meervoudige numerieke invoer
  • Array (5 punten, 10 punten, Ja/Nee/Weet niet, Meer/Gelijk/Minder, met kolom)
  • Array (Dubbele schaal, teksten, getallen)
  • Rangschikken

Verder kunnen deze vraagtypes worden gefilterd.

The only exception is Array (Column), which can filter other questions, but can not itself be filtered.

How to set it up

Enter the question code of a multiple options question in the array exclusion filter box of the question you are currently editing. The respective question will be used as the source of information for the current question, the non-selected answers from the previous question being retrieved and used as answer options for the current question. For example, if your source multiple option question code is "Q1", enter "Q1" into the 'Array exclusion filter' box to start the filtering process of the answers. Only the answer options that are NOT selected in question Q1 will be visible in your question.

If you wish more questions to be filtered via this option, type the question codes in the box separated by semicolons (;).
  The subquestion codes used in the first question must coincide with the subquestion codes from the second one. Otherwise, the array exclusion filter function will not filter the answers to the first question. Check the below example to better understand how the whole system works.


Trapsgewijs

The selected options can be displayed in cascade. This means that you can select a question which filters another question, which filters another question, and so on.

Voorbeeld

Let's see together the below example:



In the screenshot from above, we got two questions. The first one is a multiple choice question type, while the second one is a multiple choice with comments question type. The answers you provide in the first question will be excluded from the second one. For example, if you select the ComfortUpdate option (that has the subquestion code 'SQ1'), the 'SQ1' subquestion correspondent from the second question will be excluded. In our screenshot, we can observe that only Plugins (with 'SQ4') remained unselected in the first question and displayed in the second one.

This example can be downloaded from the following link: Limesurvey_group_array_filter_exclude.lsg. Import this question group into your LimeSurvey installation.