Actions

QS

Equation: Difference between revisions

From LimeSurvey Manual

(Marked this version for translation)
(Marked this version for translation)
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:


<!--T:282-->
<!--T:282-->
The result of the [[Expression Manager|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 [[Expression Manager|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.
The result of the [[Expression Manager|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 [[Expression Manager|expressions]] in the question textbox to display the respondents some statistics about herself. However, if you wish to store something different at the same time, then type the desired expression in this field.  


<!--T:286-->
<!--T:287-->
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}.
This equation is used for all language.
 
<!--T:283-->
{{Hint|Text=Unlike all other question types, if an equation is hidden, it is still computed, its value being stored in the database.}}
 
<!--T:284-->
{{Alert|No HTML tag can be saved in the database due to security concerns.}}


<!--T:278-->
<!--T:278-->

Latest revision as of 19:03, 5 October 2018


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 different at the same time, then type the desired expression in this field.

This equation is used for all language.

Valid values