Actions

Translations

ExpressionScript sample surveys/142/nl: Difference between revisions

From LimeSurvey Manual

(Created page with "Dit is Group0, die het vraagtype Vergelijking gebruikt om willekeurige waarden van 1 tot 6 voor elke groep te selecteren (behalve de laatste gr...")
 
(No difference)

Latest revision as of 20:12, 18 May 2020

Message definition (ExpressionScript sample surveys)
This is Group0, which uses the [[Question type - Equation|Equation question type]] to select random values from 1 to 6 for each group (except the last group, which has only 4 questions).  Note that the "if()" function first checks whether ask1 has already been set, and if so, uses that value. If the value hasn't been set, then it uses a random value to set the value of ask1.

Dit is Group0, die het vraagtype Vergelijking gebruikt om willekeurige waarden van 1 tot 6 voor elke groep te selecteren (behalve de laatste groep, die slechts 4 vragen heeft). Merk op dat de functie "if ( )" eerst controleert of vraag1 al is ingesteld en zo ja, die waarde gebruikt. Als de waarde niet is ingesteld, gebruikt deze een willekeurige waarde om de waarde van ask1 in te stellen.