Actions

QS

QS:Hide tip

From LimeSurvey Manual

Revision as of 19:28, 26 September 2014 by FuzzyBot (talk | contribs) (Updating to match new version of source page)


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.

 Tip: Deze functie is gewijzigd in versie 1.92
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,
dan wordt de helptekst getoond (in het rood omdat het dan een soort foutmelding is).
Na het verbeteren blijft de tekst in het groen staan.

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

Beschikbare opties

  • Ja
  • Nee (standaard)
  • Yes
  • No (default)