Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Equation Question Syntax to Add several values

  • jma6610
  • jma6610's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
5 years 3 months ago #177985 by jma6610
Let's say I have 5 initial survey questions that are numeric values 1 to 5.

I want to add these five in an equation equations so the resulting total is between 5 and 25.

I'll eventually use the total in a subsequent text display "question" but already know how to do that.

So how is this done?


In other language syntax I would do:

Total = Q1 + Q2 + Q3 + Q4 + Q5.


How do I do this with a Lime equation question?

Thanks

Jeff
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 3 months ago #177991 by DenisChenu
Replied by DenisChenu on topic Equation Question Syntax to Add several values
manual.limesurvey.org/Expression_Manager#Access_to_Functions

{sum(Q1.NAOK,Q2.NAOK,Q3.NAOK,Q4.NAOK,Q5.NAOK)}

BUT … please RTFM

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose