Actions

QS

Relevance/ja: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
No edit summary
(16 intermediate revisions by 2 users not shown)
Line 2: Line 2:


<onlyinclude>
<onlyinclude>
===Relevance equation===
===関連式===


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


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.
関連式の値が「1」または「true」になると、質問がアンケートの中で「関連する」、つまりアンケート参加者に提示されます。その他の場合は質問は表示されません。どのような質問でも関連式を指定することができます。この関数は[[Setting_conditions/ja|条件]]の後継であり、より複雑な条件ロジックをサポートします。


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


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.}}
{{Hint|Text=アンケートのすべての関連式が正しく使用されているか確認するには、[[Show_logic_file/ja|ロジックファイル]]を参照してください。}}


'''妥当な値'''
'''有効な値'''


*Any equation that makes use of the [[Expression Manager|Expression Manager]] syntax, without surrounding curly braces.
*[[ExpressionScript - Presentation/ja|ExpressionScript]]の構文に従うすべての式(中括弧は外す)。


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


Here are good examples of [[Expression_Manager_how-tos#Syntax_Highlighting|syntax highlighting]].
[[ExpressionScript How-tos/ja#.E6.A7.8B.E6.96.87.E5.BC.B7.E8.AA.BF.E8.A1.A8.E7.A4.BA|構文ハイライト]]によい例があります。


</onlyinclude>
</onlyinclude>


[[Category:Question Settings]][[Category:General Question Options]]
[[Category:Question Settings/ja]][[Category:General Question Options/ja]]

Revision as of 13:33, 22 May 2020


関連式

説明

関連式の値が「1」または「true」になると、質問がアンケートの中で「関連する」、つまりアンケート参加者に提示されます。その他の場合は質問は表示されません。どのような質問でも関連式を指定することができます。この関数は条件の後継であり、より複雑な条件ロジックをサポートします。

構文ハイライト

関連式を保存するたびに、検証され構文がハイライトされます。エラーにも色がつくので、すぐに気づいて直すことができます。

 Hint: アンケートのすべての関連式が正しく使用されているか確認するには、ロジックファイルを参照してください。


有効な値

構文ハイライトによい例があります。