Detect if question is answered

1 year 2 months ago #184012 by DenisChenu

DenisChenu wrote:
EDIT : with or witout ajax mode : it don't work when reload or try to submit

Git it,

Since self.question seems broken when reload : JS .question broken, then using it as static var.
{% set questionCount = processString("{count(self.question)}",1,1) %}

Proof of concept (i deactivate setCustomValidty) : .

After : some other need to be done
- Other is inside .question but are not always mandatory.
- Array filter : maybe using .relevanceStatus and not .question can fix this issue ? Unsure what happen for _other.relevanceStatus and _comment.relevanceStatus

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.

Start now!

Just create your account and start using Limesurvey today.

Register now