Actions

QS

QS:Array filter exclude

From LimeSurvey Manual

Revision as of 14:18, 2 April 2018 by Han (talk | contribs)


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.

De enige uitzondering is Array (met kolom), die kan andere vragen filteren, maar niet zelf kan worden gefilterd.

Hoe in te stellen

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.

Als je meerdere array_filter_exclude opties wilt gebruiken bij een vraag, gebruik dan een puntkomma om de vraagcodes te scheiden
  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

De uitsluitfilters kunnen trapsgewijs worden getoont; je kunt dan een vraag selecteren die een andere vraag filtert, die een andere vraag filtert, enz.

Voorbeeld

Daar geven we een voorbeeld bij:



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.

Dit voorbeeld kun je downloaden en de vraaggroep vervolgens importeren in je LimeSurvey installatie.