Please help us help you and fill where relevant:
Your LimeSurvey version:
Version 3.18.0+190923
Own server or LimeSurvey hosting: Own server
Theme: fruity
==================
Hello, we are using the end screen message to apply some logic that either displays a thank you message if a user is not eligible, and a meta refresh redirect if they are eligible. This is working for us with simpler single logic statement. I have a new scenario where we need more logic checks, and I am unsure of the syntax for multiple statements. I think I may just have a an issue with the number of parenthesis.
My code looks like this:
{if((Qage.NAOK <= 13) or (Qage.NAOK > 18) and (CTA5attempt1.NAOK == '4') or (CTA5attempt2.NAOK == '4') or (CTA5attempt3.NAOK == '4'),"<h2>Thank you for your interest in our study.</h2><p>We appreciate you taking the time to answer our questions.</p>","<meta http-equiv='refresh'content='0;url=https://anothersite.com'>")}
I am getting red highlighted syntax error (attached)
Any help would be greatly appreciated.