I need to write a condition to determine whether a specific cell (row and column intersect) has been selected in an Array by Number question type in order to select to show some subsequent questions.
So for example, I need to test whether Y4X3 was selected as shown below?
How can check whether this cell (Y4X3) was selected?
As far as I know you can reference this question type like this
Code:
questioncode_subquestioncode_answercode
Now usually multiple choice questions have "Y" if they are checked, but this is no normal multiple choice question, but based on the array by number. So you would need to check what is stored in the database when a specific answer was coded. Probably it is "0" vs. "1" or something like that.
Usually the question logic file helps to understand how to get to the answers.
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.