Actions

QS

Relevance/zh-cn: Difference between revisions

From LimeSurvey Manual

(Created page with "QS:Relevance")
 
(Updating to match new version of source page)
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
<languages />
<languages />


<div class="mw-translate-fuzzy">
<onlyinclude>
<onlyinclude>
===Relevance equation===
===相关性方程===
</div>


'''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.
<div class="mw-translate-fuzzy">
如果相关性方程的值是 "1" "true", 那问题就是在调查中就是"相关的" ,比如 是就会在调查中显示,如果不是,问题就会隐藏起来。任何调查的问题都允许你指定一个指定一个相关方程式。这个函数是[[Setting_conditions|条件]] 的继任者,并支持更多更复杂的条件逻辑。
</div>


'''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.
<div class="mw-translate-fuzzy">
每次你在保存相关方程式的时候,系统都会评估并突出显示语法。因此任何错误都会使用颜色标记出来,以便你能快速的发现并修复。
</div>


{{Hint|Text=To check if all the relevance equations are used correctly within your survey, read about our [[Show_logic_file|show logic file]] feature.}}
<div class="mw-translate-fuzzy">
{{Hint|Text=要想检查所有的相对方程式是否在调查中被正确使用,请查看[[Show_logic_file|显示逻辑文件]] 功能。}}
</div>


'''Valid values'''
'''有效值'''


*Any equation that makes use of the [[ExpressionScript - Presentation|ExpressionScript]] syntax, without surrounding curly braces.
<div class="mw-translate-fuzzy">
*任何使用 [[ExpressionScript - Presentation|表达式脚本]] 语法的方程式, 不使用花括号。
</div>


'''Examples'''
'''示例'''


Here are good examples of [[ExpressionScript How-tos#Syntax_Highlighting|syntax highlighting]].
这里有个 [[ExpressionScript How-tos#Syntax_Highlighting|语法突出显示]]的好例子。


</onlyinclude>
</onlyinclude>


[[Category:Question Settings]][[Category:General Question Options]]
[[Category:Question Settings/zh-cn]][[Category:General Question Options/zh-cn]]

Latest revision as of 17:39, 8 October 2022

相关性方程

说明

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

语法高亮

每次你在保存相关方程式的时候,系统都会评估并突出显示语法。因此任何错误都会使用颜色标记出来,以便你能快速的发现并修复。

 Hint: 要想检查所有的相对方程式是否在调查中被正确使用,请查看显示逻辑文件 功能。

有效值

示例

这里有个 语法突出显示的好例子。