Actions

QS

Hide tip/nl: Difference between revisions

From LimeSurvey Manual

No edit summary
(Created page with "===Geavanceerd===")
Line 15: Line 15:
</onlyinclude>
</onlyinclude>


===Advanced===
===Geavanceerd===


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:
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:

Revision as of 15:29, 8 March 2018


Verberg tip (hide_tip)

Beschrijving

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.

Deze helptekst bevat informatie over de validatie (minimum/maximum aantal antwoorden, minimum/maximum van de som van de antwoorden). Als de hide_tip ingeschakeld is 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 wordt de tekst groen.

Beschikbare opties

  • Aan - de tip wordt verborgen
  • Uit (standaard)


Geavanceerd

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