- Posts: 15
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
{if(!is_empty(QCODE.NAOK),"<span class='text-danger'>You don't answer</span>","<span class='text-success'>You answer to this question</span>")}
QCODE.NAOK
Where you want it …Where would i put this line
I put a link : read it …where do i have access to
{% if(processString("{self.NAOK}") == 0)) %} You don't answer to this question {% endif %}
{% if(processString("{self.NAOK}") != 0) %} <span>question answered</span> {% endif %}
{% if(processString("{!is_empty(self)}")) %}
{% if(processString("{is_empty(self)}")) %} <div class="{{ aSurveyInfo.class.questionasterix }} pull-left" {{ aSurveyInfo.attr.questionasterix }} > <small style="margin-right: 3px; font-size: 65%;" class="{{ aSurveyInfo.class.questionasterixsmall }} text-danger fa fa-asterisk small" {{ aSurveyInfo.attr.questionasterixsmall }}></small> <span class="{{ aSurveyInfo.class.questionasterixspan }} sr-only text-danger" {{ aSurveyInfo.attr.questionasterixspan }} > {{ gT("(This question is mandatory)") }} </span> </div> {% endif %} {% if(processString("{!is_empty(self)}")) %} <div class="{{ aSurveyInfo.class.questionasterix }} pull-left" {{ aSurveyInfo.attr.questionasterix }} > {{ image('./files/haken.png', 'Question answered') }} </div> {% endif %}
{{ processString("{if(is_empty(self.NAOK),'<span class=\"text-danger\">Mandatory question not answered</span>',' <span class=\"text-success\">question answered</span>')}") }}