Using an equation on a Multiple Short Text question type

More
1 month 1 week ago #188634 by Archer101
Hello Everyone,


I am using a Multiple Short Text question text with the input to be numbers only.


Is there an easy way to add an equation to let me know the total 2 out of 6 sub-questions to see if the respondents qualifies?


Thank you,

Laurie

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

LimeSurvey Partners
More
1 month 1 week ago - 1 month 1 week ago #188635 by Joffm
Hi, Laurie,
though you didn't provide much information:
Create your quesion of type equation with something like
{Q1_SQ001.NAOK+Q1_SQ004.NAOK}

If you want to set a quota with limit 0 to screenout this participant, you could set a question of type single and two answer options (1,2)
with {Q2=if(Q1_SQ001.NAOK+Q1_SQ004.NAOK<50,1,2)}

Now you can set the quota to Q2==1, meaning: screenout if the sum is less than 50.

Everything only examples.

Provide more details, the solution is easy.

Joffm

And if you have only numerical input why not a "multiple numerical input"


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 month 1 week ago by Joffm.

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

More
1 month 1 week ago #188653 by Archer101
Thank you for the information. I will give it a try.

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

More
1 month 1 week ago #188671 by DenisChenu
Warning with + system.

In JS : + is can be concatenate string (and not sum). The best is to use sum(Q1_SQ001.NAOK,Q1_SQ004.NAOK) in place of Q1_SQ001.NAOK+Q1_SQ004.NAOK :)

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 .
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!