Actions

QS

Hide tip/nl: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages />
<languages />
<onlyinclude>
<onlyinclude>
===Hide tip (hide_tip)===


===Verberg tip (hide_tip)===
'''Beschrijving'''


'''Beschrijving'''
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.
 
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.


Bijna alle vraagtypes hebben een helptekst om de deelnemer te ondersteunen bij het invullen van de vraag. Met dit attribuut kun je de helpfunctie uitzetten.
'''Available options'''
*On - the tips/hints are hidden;
*Off (default).
</onlyinclude>


Deze helptekst bevat informatie over de validatie (minimum/maximum aantal antwoorden, minimum/maximum  van de som van de antwoorden). Als de hide_tip de waarde 'Ja' heeft, dan wordt de helptekst verborgen, maar als de deelnemer een ongeldige waarde invult wordt de helptekst getoond (in het rood omdat het een foutmelding is). Na het verbeteren blijft de tekst in het groen staan.
===Advanced===


LimeSurvey verbergt dynamisch de tip via '''CSS''', je kunt een andere manier kiezen om de tip te verbergen. Bijvoorbeeld de tip tonen als de gebruiker een fout maakt:
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:


<syntaxhighlight lang="css">
<syntaxhighlight lang="css">
Line 18: Line 25:
</syntaxhighlight>
</syntaxhighlight>


'''Beschikbare opties'''
[[Category:Question Settings]][[Category:Question Display Options]]
 
*Ja
*Nee (standaard)
 
</onlyinclude>
 
[[Category:Question Settings/nl]][[Category:Advanced Question Settings/nl]]

Revision as of 21:45, 7 March 2018


Hide tip (hide_tip)

Beschrijving

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.

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;}