Array filter exclude: Difference between revisions
From LimeSurvey Manual
mNo edit summary |
mNo edit summary |
||
Line 10: | Line 10: | ||
<!--T:58--> | <!--T:58--> | ||
The Array filter exclusion | The '''Array filter exclusion''' setting allows you to use any multiple choice question to select or set which responses are '''NOT''' displayed in a subsequent list, array or multiple choice question. | ||
<!--T:59--> | <!--T:59--> | ||
<div class="simplebox"> | <div class="simplebox">The subsequent questions can be filtered on any array question type, including: | ||
*Multiple choice | *Multiple choice | ||
*Multiple choice with comments | *Multiple choice with comments | ||
Line 26: | Line 26: | ||
<!--T:61--> | <!--T:61--> | ||
The only exception is Array (Column), which can filter other questions, but can not itself be filtered.</div> | The only exception is ''Array (Column)'', which can filter other questions, but can not itself be filtered.</div> | ||
<!--T:62--> | <!--T:62--> | ||
''' | '''How to set it up''' | ||
Enter the question code of a multiple options question in the '''array exclusion filter''' box of the question you are currently editing. The respective question will be used as the source of information for the current question, the non-selected answers from the previous question being retrieved and used as answer options for the current question. For example, if your source multiple option question code is "Q1", enter "Q1" into the 'Array exclusion filter' box to start the filtering process of the answers. Only the answer options that are '''NOT''' selected in question Q1 will be visible in your question. | |||
Enter the question code of a multiple options question | |||
<!--T:64--> | <!--T:64--> | ||
<div class="simplebox"> | <div class="simplebox">If you wish more questions to be filtered via this option, type the question codes in the box separated by semicolons (;).</div> | ||
<!--T:68--> | <!--T:68--> | ||
Line 50: | Line 40: | ||
<!--T:69--> | <!--T:69--> | ||
The | The selected options can be displayed in cascade. This means that you can select a question which filters another question, which filters another question, and so on. | ||
<!--T:70--> | <!--T:70--> | ||
Line 56: | Line 46: | ||
<!--T:71--> | <!--T:71--> | ||
Let's see together the below example: | |||
<!--T:79--> | <!--T:79--> | ||
Line 83: | Line 54: | ||
<!--T:80--> | <!--T:80--> | ||
[[Category:Question Settings]][[Category: | [[Category:Question Settings]][[Category:Logic Question Settings]] | ||
</translate> | </translate> |
Revision as of 17:04, 19 February 2018
Array exclusion filter (array_filter_exclude)
Description
The Array filter exclusion setting allows you to use any multiple choice question to select or set which responses are NOT displayed in a subsequent list, array or multiple choice question.
- Multiple choice
- Multiple choice with comments
- Multiple short text
- Multiple numeric
- Array (5 point, 10 point, Yes/No/Unknown, Increase/Same/Decrease, Column)
- Array (Dual Scale, Text, Numbers)
- Ranking
Furthermore, each of these types of questions can filtered.
The only exception is Array (Column), which can filter other questions, but can not itself be filtered.How to set it up
Enter the question code of a multiple options question in the array exclusion filter box of the question you are currently editing. The respective question will be used as the source of information for the current question, the non-selected answers from the previous question being retrieved and used as answer options for the current question. For example, if your source multiple option question code is "Q1", enter "Q1" into the 'Array exclusion filter' box to start the filtering process of the answers. Only the answer options that are NOT selected in question Q1 will be visible in your question.
Cascading
The selected options can be displayed in cascade. This means that you can select a question which filters another question, which filters another question, and so on.
Example
Let's see together the below example: