Equation Question Syntax to Add several values

More
4 days 14 hours ago #177985 by jma6610
jma6610 created the topic: Equation Question Syntax to Add several values
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

Please Log in or Create an account to join the conversation.

More
4 days 12 hours ago #177991 by DenisChenu
DenisChenu replied the 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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!