Actions

QS

Relevance/zh-cn: Difference between revisions

From LimeSurvey Manual

No edit summary
(Created page with "'''语法高亮'''")
Line 8: Line 8:
如果相关性方程的值是 "1" 或 "true", 那问题就是在调查中就是"相关的" ,比如 是就会在调查中显示,如果不是,问题就会隐藏起来。任何调查的问题都允许你指定一个指定一个相关方程式。这个函数是[[Setting_conditions|条件]] 的继任者,并支持更多更复杂的条件逻辑。
如果相关性方程的值是 "1" 或 "true", 那问题就是在调查中就是"相关的" ,比如 是就会在调查中显示,如果不是,问题就会隐藏起来。任何调查的问题都允许你指定一个指定一个相关方程式。这个函数是[[Setting_conditions|条件]] 的继任者,并支持更多更复杂的条件逻辑。


'''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.
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.

Revision as of 09:43, 10 September 2020


相关性方程

说明

如果相关性方程的值是 "1" 或 "true", 那问题就是在调查中就是"相关的" ,比如 是就会在调查中显示,如果不是,问题就会隐藏起来。任何调查的问题都允许你指定一个指定一个相关方程式。这个函数是条件 的继任者,并支持更多更复杂的条件逻辑。

语法高亮

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.