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.
Code:
{% set questionCount = processString("{count(self.question)}",1,1) %}
Proof of concept (i deactivate setCustomValidty) :
demo.sondages.me/483539
.
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