Actions

QS

Hide tip: Difference between revisions

From LimeSurvey Manual

(Marked this version for translation)
(Add css for hide-tip)
Line 13: Line 13:


<!--T:281-->
<!--T:281-->
{{FeatureChange|v=1.92}} 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.
{{FeatureChange|v=1.92}}  
 
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.
 
For tip used by LimeSUrvey (dynamic), the method use to hide tip is css only, then you can choose another ay for hidding it. An exemple to show tip if user submit with error:
 
<syntaxhighlight lang="css">
.hide-tip .good {display: none;}
.hide-tip .error {display: none;}
.input-error .hide-tip .error {display: block;}
</syntaxhighlight>


<!--T:282-->
<!--T:282-->

Revision as of 19:27, 26 September 2014


Hide tip (hide_tip)

Description

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.

 Hint: This feature changed with version 1.92


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.

For tip used by LimeSUrvey (dynamic), the method use to hide tip is css only, then you can choose another ay for hidding it. An exemple to show tip if user submit with error:

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

Available options

  • Yes
  • No (default)