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 13:54] adminen:create:filters [18.01.2016 15:07] – [Filters and Conditional Questions] Update DE admin
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 322: Line 333:
 In case your survey has a certain target group, you might want to filter unsuitable participants and dismiss them after some screening questions. To do so, ask the screening questions early in the questionnaire and use a common filter afterwards. In case your survey has a certain target group, you might want to filter unsuitable participants and dismiss them after some screening questions. To do so, ask the screening questions early in the questionnaire and use a common filter afterwards.
  
-  * Using the command ''[[functions-base#goToPage_end|goToPage('end')]]'' will lead your questionnee to the end of the questionnaire. The interview will be marked as completed and the questionnee will be shown the sendoff.+  * Using the command ''[[:en:create:functions:gotopage#end_interview|goToPage('end')]]'' will lead your questionnee to the end of the questionnaire. The interview will be marked as completed and the questionnee will be shown the sendoff.
   * Combining the commands ''[[:de:create:functions:text|text()]]'' and ''[[:en:create:functions:buttonhide|buttonHide()]]'' can be used to show a individual sendoff. The interview will __not__ be marked as "completed". Save the sendoff text in **Text elements and labels**   * Combining the commands ''[[:de:create:functions:text|text()]]'' and ''[[:en:create:functions:buttonhide|buttonHide()]]'' can be used to show a individual sendoff. The interview will __not__ be marked as "completed". Save the sendoff text in **Text elements and labels**
  
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