Actions

QS

Relevance: Difference between revisions

From LimeSurvey Manual

mNo edit summary
mNo edit summary
Line 28: Line 28:


<!--T:12-->
<!--T:12-->
Here are good examples of [[Expression Manager HowTos#Syntax Highlighting|syntax highlighting]]
Here are good examples of [[Expression Manager HowTos#Syntax Highlighting|syntax highlighting]].


<!--T:10-->
<!--T:10-->

Revision as of 18:06, 13 February 2018


Relevance equation

Description

If the value of the relevance equation is "1" or "true", the question is "relevant" in the survey context, i.e. it is shown to the survey participant. If not, the question is hidden. Any survey question allows you to specify a relevance equation. Relevance is the successor of conditions and supports much more complex conditional logic.

Syntax Highlighting

Whenever you save the relevance equation, it is evaluated and syntax-highlighted. Any errors will be color coded so that you can quickly detect and fix them.

Valid values

Any equation that makes use of the Expression Manager syntax, without surrounding curly braces.

Examples

Here are good examples of syntax highlighting.