Actions

Translations

Translations:Expression Manager examples/27/en

From LimeSurvey Manual

To fill in the database using the Equation question type:

  • First, create a question with code Q1 as a numerical input question.
  • Then create another question with code Q2 as an equation question.
  • In the "Display settings" tab chapter of Q2:
    • set "Always hide this question" field as "On"
    • type in "Equation" field the expression:
{Q2=if(Q1.NAOK < 20, "1", if(Q1.NAOK > 20, "3", "2"))}