Actions

QS

Hide tip/ja: Difference between revisions

From LimeSurvey Manual

(Created page with "'''説明'''")
(Created page with "多くの質問では、「以下からひとつだけ選択してください」のような注記(tip)や質問への回答方法を示すテキストが表示されま...")
Line 6: Line 6:
'''説明'''
'''説明'''


Most questions will usually include a tip that says "Please choose one of the following options" or a hint text on how to fill out the question. This attribute allows you to turn off or on this tips/hints.
多くの質問では、「以下からひとつだけ選択してください」のような注記(tip)や質問への回答方法を示すテキストが表示されます。この属性で、tipやヒントを表示するかしないかを設定できます。


These tips/hints include validation criteria messages (such as min/max number of answers, min/max/equals sum value). If hide_tip is enabled, these messages will be hidden. However, '''if the user enters invalid data, the tips will appear'''. They will be coloured in red, getting changed to green once the validation criteria are met.
These tips/hints include validation criteria messages (such as min/max number of answers, min/max/equals sum value). If hide_tip is enabled, these messages will be hidden. However, '''if the user enters invalid data, the tips will appear'''. They will be coloured in red, getting changed to green once the validation criteria are met.

Revision as of 00:05, 15 May 2018


TIP非表示 (hide_tip)

説明

多くの質問では、「以下からひとつだけ選択してください」のような注記(tip)や質問への回答方法を示すテキストが表示されます。この属性で、tipやヒントを表示するかしないかを設定できます。

These tips/hints include validation criteria messages (such as min/max number of answers, min/max/equals sum value). If hide_tip is enabled, these messages will be hidden. However, if the user enters invalid data, the tips will appear. They will be coloured in red, getting changed to green once the validation criteria are met.

Available options

  • On - the tips/hints are hidden;
  • Off (default).


Advanced

You have to use CSS in order to hide the validation messages. The below example shows the code you should use if you want to display to your respondents tips/hints if they submit something wrong:

.hide-tip .good {display: none;}
.hide-tip .error {display: none;}
.input-error .hide-tip .error {display: block;}