Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:create:php-filters [23.09.2019 08:54] – Titles adminen:create:php-filters [05.08.2020 12:26] – [Preparations] jh29beja
Line 1: Line 1:
-====== Filters and Conditional Questions (PHP Filters) ====== +====== Filter Questions (PHP Filters) ====== 
  
 If the participant's answer to a question is to have an effect on the further course of the interview, it is a filter question. You can define filters either directly in the question ([[en:create:simple-filters|question filter]], simple variant) or in the **questionnaire** (//PHP filter//). If the participant's answer to a question is to have an effect on the further course of the interview, it is a filter question. You can define filters either directly in the question ([[en:create:simple-filters|question filter]], simple variant) or in the **questionnaire** (//PHP filter//).
Line 41: Line 41:
     -9 = no answer     -9 = no answer
  
-So the ID of the variable is “PT01”, the answer code for “yes” is “1” and the code for “no” is “2”. Ideally you have configured the question to demand a complete answer (tab //Check for completion//). In this case the code -9 won't be applicable.+So the ID of the variable is “PT01”, the answer code for “yes” is “1” and the code for “no” is “2”. Ideallyyou have configured the question to demand a complete answer (tab //Check for completion//). In this casethe code -9 won't be applicable.
  
 **Attention:** Should there be more variables, e.g. ''PT01_01'' and ''PT01_02'', check the question type. It is important you chose the question type "Selection" or "Dropdown Selection" if you only allow the choice of one option, __not__ "Multiple Choice". **Attention:** Should there be more variables, e.g. ''PT01_01'' and ''PT01_02'', check the question type. It is important you chose the question type "Selection" or "Dropdown Selection" if you only allow the choice of one option, __not__ "Multiple Choice".
en/create/php-filters.txt · Last modified: 19.03.2021 10:02 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