Detect if question is answered

3 months 2 weeks 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 .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!