- Posts: 39
- Thank you received: 3
Ask the community, share ideas, and connect with other LimeSurvey users!
if( ! is_empty(A1_SQ001.NAOK) and is_empty(A1_SQ002.NAOK) and is_empty(A1_SQ003.NAOK) and ! is_empty(A1_SQ004.NAOK), "You chose this answer correctly.", "You chose this answer incorrectly")
<font color="green">{if(!is_empty(A1_SQ001.NAOK) and is_empty(A1_SQ002.NAOK) and is_empty(A1_SQ003.NAOK) and !is_empty(A1_SQ004.NAOK),"You chose this answer correctly","")} </font> <font color="red"> {if(!is_empty(A1_SQ001.NAOK) and is_empty(A1_SQ002.NAOK) and is_empty(A1_SQ003.NAOK) and !is_empty(A1_SQ004.NAOK),"","You chose this answer incorrectly")} </font>
You canelissa wrote: Hi,
I'm not sure if you can use html code
{if(!is_empty(A1_SQ001.NAOK) and is_empty(A1_SQ002.NAOK) and is_empty(A1_SQ003.NAOK) and !is_empty(A1_SQ004.NAOK),"<font color='green'>You chose this answer correctly</font>","<font color='red'>You chose this answer incorrectly</strong> ")}