- Posts: 121
- Thank you received: 2
Ask the community, share ideas, and connect with other LimeSurvey users!
{ if(q5 != '1', 'defaultemail', if(q6 == '1', 'email1', if(q6 == '2', 'email2', if(q6 == '3', 'email3', if(q6 == '4', 'email4', if(q6 == '5', 'email5', if(q6 == '6', 'email6', if(q6 == '7', 'email7', if(q6 == '8', 'email8', if(q6 == '9', 'email9', if(q6 == '10', 'email10','default@example.com' ))))))))))) }
{if(q5 != '1', 'defaultemail', if(q6 == '1', 'email1', if(q6 == '2', 'email2', if(q6 == '3', 'email3', if(q6 == '4', 'email4', if(q6 == '5', 'email5', if(q6 == '6', 'email6', if(q6 == '7', 'email7', if(q6 == '8', 'email8', if(q6 == '9', 'email9', if(q6 == '10', 'email10','default@example.com' )))))))))))}
I think it's best to avoid line-breaks entirely. I just put them in examples for clarity.And { + line feed deactivate EM.
Hi,tpartner wrote:
I think it's best to avoid line-breaks entirely. I just put them in examples for clarity.And { + line feed deactivate EM.
.
{sum( ... a lot of line, all ending by , .... 0)}