Actions

QS

Array filter exclude/ja: Difference between revisions

From LimeSurvey Manual

(Created page with "唯一の例外は、''軸を反転した配列''で、他の質問をフィルタリングできますが、それ自身にはできません。</div>")
(Created page with "'''設定方法'''")
Line 21: Line 21:
唯一の例外は、''軸を反転した配列''で、他の質問をフィルタリングできますが、それ自身にはできません。</div>
唯一の例外は、''軸を反転した配列''で、他の質問をフィルタリングできますが、それ自身にはできません。</div>


'''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 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.

Revision as of 01:56, 16 May 2018


除外フィルター配列 (array_filter_exclude)

説明

除外フィルター配列設定は複数選択質問に使うことができ、回答結果を後続のリスト、配列、複数選択質問に表示させないようにすることができます。

以下の配列質問タイプにより、後続の質問がフィルターされます。
  • 複数選択
  • コメントつき複数選択
  • 自由回答(短い・複数)
  • 数字入力(複数)
  • 配列(5点、10点、はい/いいえ/どちらでもない、増加/同じ/減少、軸反転)
  • 配列(二元スケール、テキスト、数字)
  • 順位づけ

さらに、それぞれの質問タイプをフィルタリングすることができます。

唯一の例外は、軸を反転した配列で、他の質問をフィルタリングできますが、それ自身にはできません。

設定方法

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.

If you wish more questions to be filtered via this option, type the question codes in the box separated by semicolons (;).
  The subquestion codes used in the first question must coincide with the subquestion codes from the second one. Otherwise, the array exclusion filter function will not filter the answers to the first question. Check the below example to better understand how the whole system works.


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:



In the screenshot from above, we got two questions. The first one is a multiple choice question type, while the second one is a multiple choice with comments question type. The answers you provide in the first question will be excluded from the second one. For example, if you select the ComfortUpdate option (that has the subquestion code 'SQ1') and the Plugin option ('SQ4'), the 'SQ1' and the 'SQ4' subquestion correspondents from the second question will be excluded. In our screenshot, we can observe that only the unselected options in the first question and displayed in the second one.

This example can be downloaded from the following link: Limesurvey_group_array_filter_exclude.zip. Import this question group into your LimeSurvey installation.