Hi,
always the best is to activate the survey and have a look at the answer table.
Here you see
The code of the question is stored in "QCode" and the comment in "QCode_comment".
And now you know your validation equation:
Either the code is greater than 2 or it is less than 3 AND the comment is not empty. is_empty(QCode) OR QCode gt 2 OR (QCode lt 3 AND !is_empty(QCode_comment)
And with a tip it is fine. Like this
{if(!is_empty(QCode) AND QCode<3 and is_empty(QCode_comment),"You answered "+QCode+"; a comment is mandatory","You may add a comment")}
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Hi,
1st step: Enter this in "question validation equation" is_empty(QCode) OR QCode gt 2 OR (QCode lt 3 AND !is_empty(QCode_comment)
2nd step (optional): Enter tsomething like this in "question validation tip" {if(!is_empty(QCode) AND QCode<3 and is_empty(QCode_comment),"You answered "+QCode+"; a comment is mandatory","You may add a comment")}
Replace "QCode" by the Code of your question.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless