Actions

Question type - Equation: Difference between revisions

From LimeSurvey Manual

m (Text replace - "",stop="---")}{INCLUDE}" to "}}")
m (Text replace - "{{:Advanced question settings|transcludesection=h" to "{{QS:H")
Line 21: Line 21:
=Advanced settings=
=Advanced settings=


{{:Advanced question settings|transcludesection=hidden}}
{{QS:Hidden}}


'''Note:''' unlike all other question types, if an equation is hidden, it is still computed and its value is still stored in the database.
'''Note:''' unlike all other question types, if an equation is hidden, it is still computed and its value is still stored in the database.

Revision as of 21:44, 5 May 2013

Short description

Note: This question type became available starting in Version 1.92


This question type lets the author create an equation (e.g. a calculation or tailored report) and save it in a database variable.  Equations can use any syntax supported by Expression Manager. If you are handling numeric values make sure that you use the advanced question setting 'Numbers only' as explained below.


Core settings

Core question settings

Core question settings

Advanced settings

Always hide this question (hidden)

Description

If enabled, the question will always be hidden - it will not be displayed to the survey participants. This function can be used in the following scenarios:

  • If you wish to prefill a question with a URL and you want not to have it displayed on the screen. This overrides any conditions used within the survey because the respective question will not even be embedded on the page.
  • If you wish to store or calculate a value on the fly via the ExpressionScript - Presentation.
Note: A common question type that is used with this function is the Equation one.

Available options

  • On
  • Off (default)


Note: unlike all other question types, if an equation is hidden, it is still computed and its value is still stored in the database.

Advanced question settings

Advanced question settings

Advanced question settings

Advanced question settings