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 [28.11.2014 13:24] alexander.ritteren:create:filter-itemcount [28.11.2014 13:31] – [Loops und Filters] alexander.ritter
Line 94: Line 94:
 </code> </code>
  
-**Tip:** If the item ID is only stated as a single-digit ((''TF04_1'' instead of ''TF04_01''), ''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 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''
Line 100: Line 100:
 **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()]]''.
  
-It is often the casethat only the items for the media used as well should be requested in another question. This process is explained in the chapter [[filter-items|Use Selected Items in Another Question]]. +It is often the case that only items for the media also used should be used in another question. This process is explained in the chapter [[filter-items|Use Selected Items in Another Question]]. 
  
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