Actions

QS

Relevance/ja: Difference between revisions

From LimeSurvey Manual

(Created page with "syntax highlighting によい例があります。")
(Updating to match new version of source page)
Line 3: Line 3:


===質問適切性(Relevance)をあらわす式===
===質問適切性(Relevance)をあらわす式===
{{FeatureStarting|v=1.92}}


'''説明'''
'''説明'''


どの質問にも、relevance equaction(適切性をあらわす式)を設定できます。これは「条件」にあたるものの後継機能で、もっと複雑なロジックを扱えます。
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.


'''文法ハイライト'''
'''文法ハイライト'''


relevance equation(適切性をあらわす式)を変更して保存するたびに、文法がハイライトされます。エラーにも色がつくので、すぐに気づいて直すことができます。
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|Text=To check if all the relevance equations are used correctly within your survey, read about our [[Show_logic_file|show logic file]] feature.}}


'''妥当な値'''
'''妥当な値'''


[[Expression Manager|Expression Manager]]でサポートされるものなら、どんな式でも書けます。(カーリーは外すこと)
Any equation that makes use of the [[Expression Manager|Expression Manager]] syntax, without surrounding curly braces.


'''例'''
'''例'''


[[Expression Manager HowTos#Syntax Highlighting|syntax highlighting]] によい例があります。
Here are good examples of [[Expression_Manager_how-tos#Syntax_Highlighting|syntax highlighting]].


</onlyinclude>
</onlyinclude>
[[Category:Question Settings]][[Category:Core Question Settings]]
 
[[Category:Question Settings]][[Category:General Question Options]]

Revision as of 11:40, 26 February 2018


質問適切性(Relevance)をあらわす式

説明

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.

文法ハイライト

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.


妥当な値

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

Here are good examples of syntax highlighting.