Actions

QS

Relevance/zh-cn: Difference between revisions

From LimeSurvey Manual

(Created page with "<onlyinclude> ===相关性方程===")
(Created page with "'''说明'''")
Line 4: Line 4:
===相关性方程===
===相关性方程===


'''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. This function is the successor of [[Setting_conditions|conditions]] and supports much more complex conditional logic.
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. This function is the successor of [[Setting_conditions|conditions]] and supports much more complex conditional logic.

Revision as of 07:38, 10 September 2020


相关性方程

说明

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

 Hint: To check if all the relevance equations are used correctly within your survey, read about our show logic file feature.


Valid values

  • Any equation that makes use of the ExpressionScript syntax, without surrounding curly braces.

Examples

Here are good examples of syntax highlighting.