Translations of this page:

Filters and Conditional Questions

A filter question is always required if the course of the questionnaire is to be adapted individually. In the simplest case, a question is hidden because you know from a previous answer that the question is irrelevant.

  • Filter Question – The question whose answer should influence the further course of the interview.
  • Filter Condition – The „if part“ of the filter, a definition of when the filter becomes active. A filter condition (e.g. „was option A selected?“) can either be met or not.
  • Filter Effects – The „then part“ of the filter, the effect on the interview (e.g. displaying an additional question) if the filter condition is met.

In SoSci Survey different types of filter guidance are available:

  • A Question Filter is defined in the list of questions, directly in the filter question (recommended)
    • No program code (PHP code) required
    • Simple filters only
    • Only available for certain question types
  • A PHP Filter is defined under Assemble Questionnaire using PHP code
    • Allows arbitrarily complex filters
    • Allows the incorporation of previous answers into later questions (Antworten in einer Folgefrage anzeigen, also known as piping)
    • Requires working with PHP program code
  • Using JavaScript it is possible to dynamically show/hide questions on a questionnaire page – depending on an answer above (or below) on the same page.

Important: Do you use filters and do you allow a back button in the questionnaire? Then please note that the data set stores all responses. Even if a participant gives information on question A, then goes back, answers a filter question B differently there and question A is therefore no longer displayed at all.

en/create/filters.txt · Last modified: 27.11.2020 21:10 by sophia.schauer
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki