Counting number of subquestions answered

More
1 month 3 weeks ago #203724 by jma6610
I'm having a bit of a problem with an equation question in version 2.5. I have a multiple choice question (Question1) with 5 subquestions and want to know (within a later equation question) how many subquestions have been checked. I'm trying the syntax below and it doesn't seem to work. What am I doing wrong?

{Count(that.Question1)}

Please Log in to join the conversation.

LimeSurvey Partners
More
1 month 3 weeks ago #203725 by Joffm
Hi,
You have to use the correct function.
There is no function "Count", but a function "count".
Manual:
count count the number of answered (non-blank) questions in the list number count(arg1, arg12, ..., argN)

Hint: If an equation doesn't seem to work as expectd, write it into a text display question, e.g. your
{Count(that.Q1)}
You will get this with the explanation "undefined function"


And: which version do you use really?
There is no version 2.5.
Either it is 2.05 or one of the branch 2.50.x-2.73.x

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now