- Posts: 39
- Thank you received: 11
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Error when using Expression Manager to hide subquestions for multiple choice
- byan
- Topic Author
- Offline
- Junior Member
Less
More
4 years 2 weeks ago - 4 years 2 weeks ago #196196
by byan
Error when using Expression Manager to hide subquestions for multiple choice was created by byan
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?
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?
Attachments:
Last edit: 4 years 2 weeks ago by byan.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12881
- Thank you received: 3965
4 years 2 weeks ago #196198
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Error when using Expression Manager to hide subquestions for multiple choice
Hi,
you attached a lsq export; please attach a lss export.
lsg (group) and lsq (question) exports are language sensitive and don't contain the other settings of your survey.
Joffm
you attached a lsq export; please attach a lss export.
lsg (group) and lsq (question) exports are language sensitive and don't contain the other settings of your survey.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
4 years 2 weeks ago #196204
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Error when using Expression Manager to hide subquestions for multiple choice
And in the LSS export only include the questions that are relevant for this issue, not the whole questionnaire.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
4 years 2 weeks ago #196206
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Error when using Expression Manager to hide subquestions for multiple choice
But from what I see, your survey is exactly doing what you want. Not sure where the actual problem is. Is it this part?
Could you explain a little bit more, what you mean with that?
However, the survey cannot be submitted unless the first choice is selected in G01Q01
Could you explain a little bit more, what you mean with that?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- byan
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 39
- Thank you received: 11
4 years 2 weeks ago #196212
by byan
Replied by byan on topic Error when using Expression Manager to hide subquestions for multiple choice
Sorry about that. Just uploaded the lss export.
The topic has been locked.
- byan
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 39
- Thank you received: 11
4 years 2 weeks ago #196213
by byan
Replied by byan on topic Error when using Expression Manager to hide subquestions for multiple choice
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.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
4 years 2 weeks ago #196215
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Error when using Expression Manager to hide subquestions for multiple choice
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.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
4 years 2 weeks ago #196222
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Error when using Expression Manager to hide subquestions for multiple choice
byan, please file a bug report.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- byan
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 39
- Thank you received: 11
4 years 2 weeks ago #196228
by byan
Replied by byan on topic Error when using Expression Manager to hide subquestions for multiple choice
Submitted. ID: 16084 under the "Conditions" category. Thanks!
The following user(s) said Thank You: DenisChenu, tpartner
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
4 years 2 weeks ago #196232
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Error when using Expression Manager to hide subquestions for multiple choice
Thanks.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 2 weeks ago #196256
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Error when using Expression Manager to hide subquestions for multiple choice
For information : no issue in 3.X
I take a look
I take a look
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.