I'm banging my head against the wall trying to understand why Limesurvey is not having my nested IF-statement. It was originally much longer, I've now cut it down for testing.
Code:
{if (Shaded >= 5 && Oneortwopositive, 'Consider a major depressive syndrome in this patient.', if (Shaded >=2 && Oneortwopositive, if (Totalscore >=20, 'Consider other depressive disorder (SEVERE)')))}
This is what happens:
I'm pretty sure I've got the syntax right...
EDIT:
I think I worked it out. It seems you can't omit empty arguments
Code:
{if (Shaded >= 5 && Oneortwopositive, 'Consider a major depressive syndrome in this patient.', if (Shaded >=2 && Oneortwopositive, if (Totalscore >=20, 'Consider other depressive disorder (SEVERE)', ''),''))}