Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

E-Mail ASSESVALUE if condition not working.

  • kater_at
  • kater_at's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 6 months ago #206149 by kater_at
Hi,

maybe i'm just blind but the if condition just won't work for me. Stays blank.
{ASSESVALUE} output works. HTML E-Mail.

Your correct answers: {ASSESVALUE} of 8 = {if(ASSESVALUE>5,'Good','Bad')}

thanks!
Version 4.3.17+200921
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 6 months ago #206161 by DenisChenu
Replied by DenisChenu on topic E-Mail ASSESVALUE if condition not working.
ASSESVALUE is a question in your survey ?

Did you try {if(intval(ASSESVALUE)>5,'Good','Bad')}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • kater_at
  • kater_at's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 6 months ago - 3 years 6 months ago #206171 by kater_at
Replied by kater_at on topic E-Mail ASSESVALUE if condition not working.
Hi, thanks for your reply.

Yes, the {ASSESVALUE} alone works just fine.
it just won't execute/render the conditional.

intval also wont work.
(fwiw, i've the jumping cursor problem in (only) this editor field. But html code is just fine.)

thanks!
Last edit: 3 years 6 months ago by kater_at.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 6 months ago #206175 by DenisChenu
Replied by DenisChenu on topic E-Mail ASSESVALUE if condition not working.
I just check with : Confrimation email and Simple admin notification email : no issue with 4.3.19 github

If you report the issue : please send a simple lss for reproduction

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: kater_at
The topic has been locked.
  • kater_at
  • kater_at's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 6 months ago #206207 by kater_at
Replied by kater_at on topic E-Mail ASSESVALUE if condition not working.
Seems it won't work within html tags like <p>.
Without however, everything fine.

cheers
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 6 months ago #206218 by DenisChenu
Replied by DenisChenu on topic E-Mail ASSESVALUE if condition not working.
Try to use source mode editor …

Checked : {VALUE.NAOK} : {if(VALUE.NAOK > 5,'<p>Great</p>','<strong>Bad</strong>')}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose