Actions

QS

Numbers only/fr: Difference between revisions

From LimeSurvey Manual

(Created page with "<onlyinclude> ===Nombres uniquement (numbers_only)===")
(Created page with "Si vous activez cette option, le participant ne peut saisir que des chiffres dans la ou les zones de texte.")
Line 6: Line 6:
'''Description'''
'''Description'''


If you enable this option, the participant can only enter numbers in the text box(es).
Si vous activez cette option, le participant ne peut saisir que des chiffres dans la ou les zones de texte.


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

Revision as of 19:45, 27 September 2023


Nombres uniquement (numbers_only)

Description

Si vous activez cette option, le participant ne peut saisir que des chiffres dans la ou les zones de texte.

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

  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)