I I have two questions. The first is single choice (G01Q01) and second is multiple choice (G01Q02). The goal is to hide subquestion in the second question based on the answer to the first question. In the attached example, subquestion 1 (SQ01) should be hidden if the answer to question 1 is not the first choice (AO01).
My solution was to add (G01Q01.NAOK == "AO01") in the condition box of SQ01. It did hide the first subquestion of G01Q02 unless the first choice is selected in G01Q01. However, the survey cannot be submitted unless the first choice is selected in G01Q01(See pictures below). The survey example is attached. Any suggestions?
Here is the problem. As shown in the screenshot, when option 2 was selected (in fact, any choice other than option 1), the error message "One or more questions have not been answered in a valid manner. You cannot proceed until these answers are valid." popped up, preventing the survey from moving to the next page or, in this case, being submitted.
I can confirm this behavior, but I can currently not explain it. Tried a couple of things to get rid of it, but without success. Need to check deeper, might be a bug.
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.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.