- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Question Counting
- samh11
- Topic Author
- Offline
- New Member
Less
More
4 years 10 months ago #185364
by samh11
Question Counting was created by samh11
I have a survey with multiple sets of questions with a part A and part B.
For example:
1.A
1.B
2
3.A
3.B
In the above example, the maximum count of questions answered is 3.
1.A and 1.B must count as a maximum of 1 when either one or both questions
are answered. The same for 3.
What approaches can I take to determine the number of questions answered?
I have a working version using an equation question but looking to see if
Lime Survey has an easier or better approach.
For example:
1.A
1.B
2
3.A
3.B
In the above example, the maximum count of questions answered is 3.
1.A and 1.B must count as a maximum of 1 when either one or both questions
are answered. The same for 3.
What approaches can I take to determine the number of questions answered?
I have a working version using an equation question but looking to see if
Lime Survey has an easier or better approach.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13637
- Thank you received: 2491
4 years 10 months ago #185367
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 Question Counting
Hi
1. : use real code, because you can't use 1.A, but only A1 …
You can use Expression manager to count answered response.
For all question type this can work
{count(that.A1.NAOK,that.B1.NAOK,that.A3.NAOK,that.B3.NAOK)}
Unsure for comments checkbox : but it must count answer for comments od for checkbox.
1. : use real code, because you can't use 1.A, but only A1 …
You can use Expression manager to count answered response.
For all question type this can work
{count(that.A1.NAOK,that.B1.NAOK,that.A3.NAOK,that.B3.NAOK)}
Unsure for comments checkbox : but it must count answer for comments od for checkbox.
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.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12916
- Thank you received: 3975
4 years 10 months ago #185407
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Question Counting
Hi,
anyway, you have to use the Expression Manager.
Joffm
anyway, you have to use the Expression Manager.
As long as we do not know your way to calculate the number of answered questions, we are not able to see if there is a better or easier way.I have a working version using an equation question but looking to see if
Lime Survey has an easier or better approach.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.