Actions

QS

QS:Equation

From LimeSurvey Manual

Revision as of 18:57, 19 March 2018 by Cdorin (talk | contribs)


Equation (equation)

Description

The result of the expression you type here will be stored in the response table and NOT the result(s) of the expressions typed in the question textbox. For example, you may want to display several expressions in the question textbox to display the respondents some statistics about herself. However, if you wish to store something like a "secret value" at the same time, then type the desired expression in this field.

Imagine that you wish to display the weight, height, and BMI of the respondent. If you wish to calculate just the weight/height ratio without letting the respondents know this and store it in a response table, type in the equation field: {weightkg/tall}.

 Hint: Unlike all other question types, if an equation is hidden, it is still computed, its value being stored in the database.


  No HTML tag can be saved in the database due to security concerns.


Valid values