x

Hoofdstukken

  1. LimeSurvey Cloud vs LimeSurvey CE
  2. LimeSurvey Cloud - Quick start guide
  3. LimeSurvey CE - Installatie
  4. Hoe maak je een goede enquête
  5. Aan de slag
  6. LimeSurvey configuratie
  7. Inleiding - Enquêtes
  8. Bekijk enquête-instellingen
  9. Bekijk enquête-menu
  10. Bekijk de enquêtestructuur
  11. Introductie - Vragen
  12. Introductie - Vraaggroepen
  13. Inleiding - Enquêtes - Management
  14. Enquête taakbalk opties
  15. Meertalige enquête
  16. Quick start guide - ExpressionScript
  17. Geavanceerde features
  18. Algemeen FAQ
  19. Probleemoplossing
  20. Tijdelijke oplossingen
  21. Licentie
  22. Versie change log
  23. Plugins - geavanceerd
 Actions

Translations

Translations:ExpressionScript - Presentation/119/nl

From LimeSurvey Manual

Vraagcode Relevantie Vraagtype Vraag (Engels als in het voorbeeld)
name 1 text What is your name?
age 1 text How old are you?
badage !is_empty(age) expr {(age<16) or (age>80)}
agestop badage message Sorry, {name}, you are too {if( (age<16),'young',if( (age>80),'old','middle-aged') ) } for this test.
kids !badage yesno Do you have children?
parents 1 expr {!badage && kids=='Y'}
numKids parents text How many children do you have?
kid1 parents && numKids >= 1 text How old is your first child?
kid2 parents && numKids >= 2 text How old is your second child?
kid3 parents && numKids >= 3 text How old is your third child?
kid4 parents && numKids >= 4 text How old is your fourth child?
kid5 parents && numKids >= 5 text How old is your fifth child?
sumage 1 expr {sum(kid1.NAOK,kid2.NAOK,kid3.NAOK,kid4.NAOK,kid5.NAOK)}
report parents text {name}, you said you are {age} and that you have {numKids}.  The sum of ages of your first {min(numKids,5)} kids is {sumage}