- Posts: 27
- Thank you received: 2
Ask the community, share ideas, and connect with other LimeSurvey users!
if(countif("No",that.Q1.NAOK) > 0, "<span style='color: #f39c12;'><span aria-hidden='true' class='fa fa-exclamation-triangle'> </span>Warning: message</span>")</p>
if(countif("No",that.Q1.NAOK) > 0, "<span style="color: #f39c12;"><span aria-hidden="true" class="fa fa-exclamation-triangle"> </span>Warning: message</span>")</p>
This should work. Are there errors in the logic file?If i invert the double quotes and the single quotes the IF statement doesn't work.
if(countif('No', that.Q1.NAOK) > 0, '<span style="color: #f39c12;"><span aria-hidden="true" class="fa fa-exclamation-triangle"> </span>Warning: message</span>', '')