- Posts: 10223
- Thank you received: 3640
Ask the community, share ideas, and connect with other LimeSurvey users!
count(self.NAOK)
{% set questionCount = processString("{count(self.question)}") %} count(self.question): {{ questionCount }} <br> count(self.NAOK): {{ processString("{count(self.NAOK)}") }} <br> {{ processString("{if(count(self.NAOK) == 0,'<span class=\"text-danger\">No question answered</span>')}") }} {{ processString("{if(count(self.NAOK) gt 0 and count(self.NAOK) lt "~questionCount~",'<span class=\"text-warning\">'+count(self.NAOK)+' question(s) answered</span>')}") }}
ALWAYS disable AJAX. In my opinion, it does nothing other than cause problems.Ajax Mode is on.
Here, it seems to work with ajax on .tpartner wrote:
ALWAYS disable AJAX. In my opinion, it does nothing other than cause problems.Ajax Mode is on.
Git it,DenisChenu wrote:
EDIT : with or witout ajax mode : it don't work when reload or try to submit
{% set questionCount = processString("{count(self.question)}",1,1) %}