In my opinion your equation is wrong. You are not using the "if" clause correctly.
Code:
{if(cvm >= 1 && cvm <=3, '35'),if(cvm >= 4 && cvm <=6, '50'),if(cvm >= 7 && cvm <=9, '68'),if(cvm >= 10 && cvm <=12, '10'),if(cvm >= 13 && cvm <=15, '14'),if(cvm >= 16 && cvm <=18, '18')}
in Limesurvey if works like this:
{if(condition,then,else)}
So either you create one equation for each case or you need to nest the if conditions. the second if needs to be within the "else" of the first one. You can not just add one if after the other in the same {}
But what could work would be something like this:
Aproach ine
Code:
{if(cvm >= 1 && cvm <=3, '35', if(cvm >= 4 && cvm <=6, '50', if(cvm >= 7 && cvm <=9, '68', if(cvm >= 10 && cvm <=12, '10', if(cvm >= 13 && cvm <=15, '14', if(cvm >= 16 && cvm <=18, '18'))))))}
I hope I have added enought ))) at the end...
The other option is a bit easier to read:
Code:
{if(cvm >= 1 && cvm <=3, '35')}
{if(cvm >= 4 && cvm <=6, '50')}
{if(cvm >= 7 && cvm <=9, '68')}
{if(cvm >= 10 && cvm <=12, '10')}
{if(cvm >= 13 && cvm <=15, '14')}
{if(cvm >= 16 && cvm <=18, '18')}
Not sure if you need to add an empty "else" for each. But I think in the newer versions this is not required anymore.
What worries me a bit, that Tpartner didn't see this. Either he really didn't spot it or I am not up to date...