Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Question Counting

  • samh11
  • samh11's Avatar Topic Author
  • Offline
  • New Member
  • New Member
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.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #185367 by DenisChenu
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.

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
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 10 months ago #185407 by Joffm
Replied by Joffm on topic Question Counting
Hi,
anyway, you have to use the Expression Manager.

I have a working version using an equation question but looking to see if
Lime Survey has an easier or better approach.

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.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose