- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Using an equation on a Multiple Short Text question type
- Archer101
- Topic Author
- Offline
- New Member
Less
More
4 years 7 months ago #188634
by Archer101
Using an equation on a Multiple Short Text question type was created 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
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
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12902
- Thank you received: 3967
4 years 7 months ago - 4 years 7 months ago #188635
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Using an equation on a Multiple Short Text question type
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"
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: 4 years 7 months ago by Joffm.
The topic has been locked.
- Archer101
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
4 years 7 months ago #188653
by Archer101
Replied by Archer101 on topic Using an equation on a Multiple Short Text question type
Thank you for the information. I will give it a try.
The topic has been locked.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13620
- Thank you received: 2488
4 years 7 months ago #188671
by DenisChenu
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.
Replied by DenisChenu on topic Using an equation on a Multiple Short Text question type
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
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 .
I don't answer to private message.
The topic has been locked.