I want to display a question only if the participant selects 3 or more answers in the previous multiple choice question. I've tried to insert count(PTSDJ4.NAOK) > 3 in question relevance but it keeps saying that the variable is not defined, even though it is (I think). I have also read a lot of manuals but I could not find a solution in any of them.
I'm not very familiar with LimeSurvey, so I would really appreciate if you could explain this to me!
PTSDJ4 is the code of the question. But you really want to count the subquestions.
So the "count" of the question is obviously useless and not supported by this function.
You have to use: count(PTSDJ4_SQ001.NAOK, PTSDJ4_SQ002.NAOK,...)>3
You will see that count(that.PTSDJ4.NAOK) > 3
expands to count(PTSDJ4_SQ001.NAOK, PTSDJ4_SQ002.NAOK, PTSDJ4_SQ003.NAOK, PTSDJ4_SQ004.NAOK, PTSDJ4_SQ005.NAOK, PTSDJ4_SQ006.NAOK, PTSDJ4_SQ007.NAOK) > 3
You see that now the subquestions are counted; of course only "selected" subquestions are counted.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless