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:filter-itemcount [10.12.2014 15:07] alexander.ritteren:create:filter-itemcount [11.12.2014 21:33] alexander.ritter
Line 7: Line 7:
 {{:de:create:scr.filter-itemcount.png?nolink|Filter Question with Multiple Relevant Items}} {{:de:create:scr.filter-itemcount.png?nolink|Filter Question with Multiple Relevant Items}}
  
-The task is now to check if the respondent uses at least one medium at least once a month. Of course, this could be done with 6 individual conditions linked using the AND operator (''and'') ([[filter-boolean|Linking Multiple Conditions]]). How this can be achieved faster and more neatly is described below.+The task is now to check if the respondent uses at least one medium at least once a month. Of course, this could be done with 6 individual conditions linked using the AND operator (''and'') ([[filter-boolean|Linking Multiple Conditions]]). How this can be achieved more efficiently and concisely is described below.
  
 ===== Abstract ===== ===== Abstract =====
Line 96: Line 96:
 **Tip:** If the item ID is only stated as a single-digit ((''TF04_1'' instead of ''TF04_01''), the ''value()'' command is not affected. This is particularly useful if the user wants to check more than 9 items. **Tip:** If the item ID is only stated as a single-digit ((''TF04_1'' instead of ''TF04_01''), the ''value()'' command is not affected. This is particularly useful if the user wants to check more than 9 items.
  
-In this example, it is particularly interesting what can be done with the counter (''$counter'') -- i.e. the last three lines. If an interview uses none of the specified media at least once a month, in the above example he will be sent directly to the end of the questionnaire. Of course, a question block could also be skipped in this way or other filters implemented depending on ''$counter''+In this example, it is particularly interesting what can be done with the counter (''$counter'') -- i.e. the last three lines. If an respondent uses none of the specified media at least once a month, in the above example he will be sent directly to the end of the questionnaire. Of course, a question block could also be skipped in this way or other filters implemented depending on ''$counter''
  
 **Tip:** If you need the complex determined variable ''$counter'' later on in the questionnaire for another filter, use the function ''[[functions-proc#registervariable|registerVariable()]]''. **Tip:** If you need the complex determined variable ''$counter'' later on in the questionnaire for another filter, use the function ''[[functions-proc#registervariable|registerVariable()]]''.
en/create/filter-itemcount.txt · Last modified: 20.01.2015 18:44 by alexander.ritter
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki