I have a question about possibility of real-time counting of texts answers.
I would like to add to a screen something like this:
"You've already answered X of 50 subquestions". The problem is, that answers for those subquestions are texts. Is it possible to count those answers and show respondents their progress?
Yes : count(Q1.NAOK,Q2.NAOK ....) count the not empty Question.
Then no problem here.
Try : count(self.NAOK) if you are inside the question with 50 sub questions.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Thanks for your answer.
Unfortunetelly this solution doesn't work - probably because of the question type I've used. I've tried to make my survey more user-friendly, so instead of texts i a table I've used Implicit Association Test (it's described here:
www.limesurvey.org/manual/Workarounds:_M...ime_using_Javascript
). I've changed some parts of the script. Now it displayed subquestions one by one.
Probably because of this your solution didn't work. Is there any other option?
The IAT workaround uses an array-texts question type with two columns. The workaround automatically populates both inputs in each row as the test proceeds so you may need something like this to count the rows completed (assuming thr IAT question code is "qIAT"):
Code:
{(sum(that.qIAT.NAOK))/2}
Cheers,
Tony Partner Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Unfortunatelly this solution dosn't work too. Probaby because of my changes (I've add some buttons, I've delate one of those two columns)... There is high probability that I've messed up something.
Those expressions seems to work (there is no error messeges) but the number which is shown is equal 0 al the time