Hi. I have a question.
An access code must be entered for the survey that I am doing. That is the first question is: "ID number on the questionnaire". With the fourth question the question comes up again: "" ID number on the questionnaire ".
This repetition serves to prevent incorrect entry of the ID number.
How do I ensure that the ID number for the fourth question is always correct if it matches the first? Is there a condition for that?
Hi. I put " ID1==ID2" in the validation field, but if I try to do this in the preview, it shows me an error. No matter if I enter the code correctly or incorrectly, it will be displayed as incorrect.
Hi Joffm, it just worked! It wasn't clear to me that I need to change the code for the questions for it to work. Now I've given the questions the right codes(ID1,ID2) and it works!
Thank you for your quick response!
You do not need to change the code of the questions, you rather adapt the expression so that it matches the question ids in your survey. Of course it works the other way round too, but if you use the question ids somewhere else in an equation it makes more sense to adapt Joffm's example equation to your questionnaire, rather than your questionnaire to joffm's example equation.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.