Please help us help you and fill where relevant: Your LimeSurvey version:
LimeSurvey Community Edition
Version 6.5.1+240320 Own server or LimeSurvey hosting: own server
==================
The answers participants give to my questions might include characters like < and > as the questions are in regards to programming.
For example an answer could be '7<4' (without the ''). Later on, I want to give feedback on the correctness of the answer. However that provides a problem.
If I do the comparison with the question code and .show and compare (= it with '7<4' the result is 0 instead of 1. It seems to me that Limesurvey transformed the answer somehow to '7<4'. So it makes sense that the result is 0 (false) instead of 1 (true). However I can't (permanently) change my comparison text to '7<4'; as limesurvey always reverses this back to '7<4' either instantly or after reopening the question which includes the ExpressionScript comparison. Is there any way how I can make this work?
Hi Joffm,
thanks for your reply. I attached a small example of what I want to do. The first question asks you for some input. The second questions/text just gives feedback how many inputs are correct. You will see that every line which includes either <, > or & won't be count as correct.