- Posts: 55
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Creating scores and presenting them at the end
- Vinicos
- Topic Author
- Offline
- Senior Member
Less
More
3 years 8 months ago #203553
by Vinicos
Creating scores and presenting them at the end was created by Vinicos
Hi
Let's suppose I create an Array Question with 10 subquestions and 4 possible answers (1=not at all, 2=a little, 3=moderately, 4=a lot). I want to set two different scores from this question: the first would be the sum of the 5 first subquestions' answers and the second would be the sum of the others 5 subquestions' answers. I know that I can create equation questions in order to do that, but I don't know which formula to use. Can someone help me?
Furthermore, let's suppose I want to display, at the end of the questionnaire, these two final scores with a specific recommendation based on the score that each participant had. I mean, let's suppose we have a cutting point and that I wanted to display two types of recommendations: one for the participants who scored upper than this cutting point, and the other for participants who scored lower. Is this possible?
Thanks
LS 3.22.13+200415
Let's suppose I create an Array Question with 10 subquestions and 4 possible answers (1=not at all, 2=a little, 3=moderately, 4=a lot). I want to set two different scores from this question: the first would be the sum of the 5 first subquestions' answers and the second would be the sum of the others 5 subquestions' answers. I know that I can create equation questions in order to do that, but I don't know which formula to use. Can someone help me?
Furthermore, let's suppose I want to display, at the end of the questionnaire, these two final scores with a specific recommendation based on the score that each participant had. I mean, let's suppose we have a cutting point and that I wanted to display two types of recommendations: one for the participants who scored upper than this cutting point, and the other for participants who scored lower. Is this possible?
Thanks
LS 3.22.13+200415
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10110
- Thank you received: 3594
3 years 8 months ago #203555
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Creating scores and presenting them at the end
Please refer to the manual section for Expression Script.
- manual.limesurvey.org/ExpressionScript_E..._-_Quick_start_guide
- manual.limesurvey.org/ExpressionScript_E..._-_Quick_start_guide
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
3 years 8 months ago - 3 years 8 months ago #203573
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Creating scores and presenting them at the end
And to elaborate a little bit on Tpartners perfect answer:
You need to sum the subquestions with something like this:
For the second part: if the text is short, you could just use an expression within a text display question.
If the recommendation text is longer or needs some nice formatting I would create different text display questions for the different recommendations and show/hide them via relevance equation.
I know that I can create equation questions in order to do that, but I don't know which formula to use.
You need to sum the subquestions with something like this:
Code:
{sum(SQ001,SQ002,SQ003,...)}
For the second part: if the text is short, you could just use an expression within a text display question.
If the recommendation text is longer or needs some nice formatting I would create different text display questions for the different recommendations and show/hide them via relevance equation.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Last edit: 3 years 8 months ago by holch.
The topic has been locked.
- Vinicos
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 1
3 years 8 months ago #203618
by Vinicos
Replied by Vinicos on topic Creating scores and presenting them at the end
Thanks very much, guys. That helped me a lot!
The topic has been locked.