Actions

QS

Numbers only/ja: Difference between revisions

From LimeSurvey Manual

(Created page with "QS:Numbers only")
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:


<onlyinclude>
<onlyinclude>
===Numbers only (numbers_only)===
===数字のみ (numbers_only)===


'''Description'''
'''説明'''


If you enable this option, the participant can only enter numbers in the text box(es).
このオプションをオンにすると、参加者はテキストボックスに数字のみ入力できるようになります。


For the '''equation question types''', this setting indicates that the result could only be a number, not a string. This will guarantee proper calculations/conversions in follow-up equations regarding the decimal mark.
'''式質問タイプ'''では、この設定は結果が文字列ではなく数字だけでなければならないことになります。小数点について式が正しく計算/変換されます。


'''Behavior by question type'''
'''質問タイプによる動作'''
# '''Default''':  If the subject enters a value that is not a number, that value is immediately cleared from the text box so that the subject can enter an appropriate value.
# '''既定値''':  数字以外の値が入力されたら、テキストボックスがすぐに消去され、正しい値を入力できるようになります。
# '''Array (Texts)''': If the '''numbers only''' option is disabled, the "Show totals for" and "Show grand total" options will be overruled, while the total text boxes will '''not''' be displayed.
# '''配列(テキスト)''': '''数字のみ'''オプションがオフの場合、"合計を表示""総計を表示"オプションが無効にされ、合計欄が表示されません。
# '''Equation''': Enabling this option will force the equation results to be converted to a numeric value. If the equation result is not a number (and not blank), the equation will return NaN, being saved as an empty string in the response table.
# '''''': このオプションをオンにすると、式の結果を強制的に数値に変換します。式の結果が数字ではない(かつ空白でない)場合、式は NaN を返し、結果テーブルには空文字列が保存されます。


'''Available options'''
'''利用可能な設定値'''
*On
*オン
*Off (default)
*オフ(既定値)
</onlyinclude>
</onlyinclude>


[[Category:Question Settings]][[Category:Other Question Options]]
[[Category:Question Settings/ja]][[Category:Other Question Options]]

Latest revision as of 16:28, 16 August 2018


数字のみ (numbers_only)

説明

このオプションをオンにすると、参加者はテキストボックスに数字のみ入力できるようになります。

式質問タイプでは、この設定は結果が文字列ではなく数字だけでなければならないことになります。小数点について式が正しく計算/変換されます。

質問タイプによる動作

  1. 既定値: 数字以外の値が入力されたら、テキストボックスがすぐに消去され、正しい値を入力できるようになります。
  2. 配列(テキスト): 数字のみオプションがオフの場合、"合計を表示"と"総計を表示"オプションが無効にされ、合計欄が表示されません。
  3. : このオプションをオンにすると、式の結果を強制的に数値に変換します。式の結果が数字ではない(かつ空白でない)場合、式は NaN を返し、結果テーブルには空文字列が保存されます。

利用可能な設定値

  • オン
  • オフ(既定値)