Actions

QS

Hide tip: Difference between revisions

From LimeSurvey Manual

No edit summary
mNo edit summary
Line 2: Line 2:
<!--T:1-->
<!--T:1-->
<languages />
<languages />
<onlyinclude>
<onlyinclude>
===Hide tip (hide_tip)=== <!--T:278-->
===Hide tip (hide_tip)=== <!--T:278-->


Line 10: Line 10:


<!--T:280-->
<!--T:280-->
Most questions will usually include a tip that says "Please choose one of the following options" or similar hint text how to fill out the question. This attribute allows you to turn off this tips/hints.
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 this tips/hints.


<!--T:286-->
<!--T:286-->
These tips include the validation criteria messages, (such as min/max number of answers, min/max/equals sum value). If hide_tip is true, they will be initially hidden; but if the user enters invalid data, the tips will appear, color coded red to indicate the error. Once the validation criteria are met, the color coding will change to green, but the tips will not disappear.
These tips include the 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.


<!--T:287-->
<!--T:287-->
For tip used by LimeSurvey (dynamic), the method used to hide tip is '''css only''', then you can choose another way for hiding it. An example to show tip if user submit with error:
The method used to hide tip is '''css only''', but you can choose another way to hide it. An example to show tip(s) and hits is if user submits with error:


<!--T:288-->
<!--T:288-->
Line 27: Line 27:
<!--T:282-->
<!--T:282-->
'''Available options'''
'''Available options'''
 
*On - the tips and hints are hidden;
<!--T:285-->
*Off (default).
*Yes
*No (default)
 
<!--T:283-->
</onlyinclude>
</onlyinclude>


<!--T:284-->
<!--T:284-->
[[Category:Question Settings]][[Category:Advanced Question Settings]]
[[Category:Question Settings]][[Category:Question Display Options]]


</translate>
</translate>

Revision as of 18:40, 16 February 2018


Hide tip (hide_tip)

Description

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 this tips/hints.

These tips include the 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.

The method used to hide tip is css only, but you can choose another way to hide it. An example to show tip(s) and hits is if user submits with error:

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

Available options

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