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
Next revisionBoth sides next revision
en:create:filters [10.12.2014 14:00] adminen:create:filters [16.01.2017 10:30] – [Example: Yes-No-Filters] cofrin
Line 2: Line 2:
  
 Filters are needed if the questionnaire flow should be individually adjusted. The simplest use would be not to show a question - that you know from an earlier question - is irrelevant to the questionee.  Filters are needed if the questionnaire flow should be individually adjusted. The simplest use would be not to show a question - that you know from an earlier question - is irrelevant to the questionee. 
 +
 +A warning in advance: Most project administrators that use SoSci Survey have never before written computer programming code. You'll learn some very basic knowledge about programming with PHP in this chapter. Don't worry: The first step is always the hardest. You'll see that it's not as hard as it may seem -- and you'll be awarded by a steep learning curve. Some little frustration, you may suffer, will be compensated by a even more happy aha!
 +
 +**Important:** For a better understanding, we recommend the chapther [[:en:create:php]].
 +
 +**Important:** Should a filter not work as it should, please take a look into [[:en:create:filter-solving]].
 +
 +**Important:** SoSci Survey saves all data from a respondent. If you allow a back button, the following situation may occur: A respondent answers question A, goes back, changes a filter question, and will not be presented question A any more in the subsequent questionnaire. The answers given to question A are still in the data record -- although the data tells that this respondent should not have seen question A.
 +
 +**Tip:** If you separate respondents into a control group and an experimental group ([[:en:create:questions:random]], [[:en:create:randomization]]) and present them different questionnaire pages, it may be useful to (early) use ''[[:en:create:functions:setpageorder]]'' instead of ''[[:en:create:functions:gotopage]]'': The earlier in the interview SoSci Survey knows that pages will be skipped, the better can it adapt the progress bar.
 +
  
 ===== Example: Yes-No-Filters ===== ===== Example: Yes-No-Filters =====
Line 13: Line 24:
   * the page on which the questionnaire should continue, in case the questionee answers "no"   * the page on which the questionnaire should continue, in case the questionee answers "no"
  
-You will find the ID of the varaible in the **Variables Listing**. This could look like this:+You will find the ID of the variable in the **Variables Listing**. This could look like this:
  
   [PT01] Dropdown Selection   [PT01] Dropdown Selection
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