Actions

QS

QS:Exclusive option

From LimeSurvey Manual

Revision as of 00:09, 17 May 2018 by Bravehorse (talk | contribs)


排他的な選択肢 (exclusive_option)

説明

The exclusive option attribute takes the code of an answer in a multiple option question so that when clicked on the its corresponding checkbox, all the other previously checked options will get unchecked and get marked as read-only (=disabled). This function was created to ensure the data integrity when one of the multiple options in a multiple option question implies that no other option can be selected too. Basically, this feature marks the other attributes as being irrelevant.

複数の排他的選択肢を設定することができます。セミコロンで区切って設定します。

回答コードに関する簡単な説明は、ウィキセクションを参照してください。 Once understood, introduce the "AnswerCode" that will trigger the function once selected.

排他的な選択肢が使われている例を以下に示します。

1つ目のスクリーンショットでは、LimeSurvey以外の選択肢が選ばれています。



マークされた選択肢(排他的な選択肢ボックスで指定したもの)をクリックすると、他の選択肢のマークが外されて無効になり、選択したしたものだけが残ります。



To take a closer look at our example, import the .lsq file into your LimeSurvey installation:

File:Example exclusive option question.zip.