Actions

QS

QS:Numbers only

From LimeSurvey Manual

Revision as of 09:40, 11 September 2020 by Lacity (talk | contribs) (Created page with "对于 '''方程式问题类型''', 这个设置明确了结果只能是数字,不是字符串。这将保证在有关小数点的后续方程式中进行正确的计算/转...")


仅数字 (numbers_only)

说明

如果你启用了该选项,参与者就只能在文本框里输入数字。

对于 方程式问题类型, 这个设置明确了结果只能是数字,不是字符串。这将保证在有关小数点的后续方程式中进行正确的计算/转换。

Behavior by question type

  1. 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.
  2. 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.
  3. 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.

Available options

  • On
  • Off (default)