- Posts: 6
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Set Conditions not working
- kimdondo
- Topic Author
- Offline
- New Member
Less
More
8 years 4 days ago #135088
by kimdondo
Set Conditions not working was created by kimdondo
I have been trying to link my questions by using the set conditions tool however when I test the survey and I select the question which would lead to a certain amount of answers the next answers dont load. When I click the next button it does not move to the next page as I have not completed the mandatory question which was not showing up in the first place.
Is there something I'm missing? This method worked fine on the older version of limesurvey.
Is there something I'm missing? This method worked fine on the older version of limesurvey.
The topic has been locked.
- first
- Offline
- Elite Member
Less
More
- Posts: 227
- Thank you received: 36
8 years 4 days ago #135098
by first
Survey Designer and Programmer
Replied by first on topic Set Conditions not working
Please share lss reproducing the problem. Someone might be able to figure out with that...
Survey Designer and Programmer
The topic has been locked.
- kimdondo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
7 years 11 months ago #135260
by kimdondo
Replied by kimdondo on topic Set Conditions not working
I've attached the lss with the problem. Hopefully someone can help me out as I am stumped.
Attachments:
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
7 years 11 months ago #135266
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 Set Conditions not working
It is also always important to know the version of LS you are using for this. Because someone might be testing in LS 2.06 and it works, while your problem appears to be in 2.5, or vice versa.
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.
- kimdondo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
7 years 11 months ago #135269
by kimdondo
Replied by kimdondo on topic Set Conditions not working
Hi there sorry I'm new to this. The LS I'm using is Version 2.50+
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
7 years 11 months ago #135272
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 Set Conditions not working
There are quite a few questions in this questionnaire, which questions and conditions are you referring to?
By the way: while importing my Limesurvey instance changed question names from "1", "2", "3" to "q1", "q2", "q3". The question code can not start with a number:
manual.limesurvey.org/Expression_Manager --> search for question code:
[quote}Valid question codes should NOT start with a number, so when using the question code to number your questions, simply use "q1", or "q1a" or "g1q2".[/code]
This could be the reason why your conditions don't work.
By the way: while importing my Limesurvey instance changed question names from "1", "2", "3" to "q1", "q2", "q3". The question code can not start with a number:
manual.limesurvey.org/Expression_Manager --> search for question code:
[quote}Valid question codes should NOT start with a number, so when using the question code to number your questions, simply use "q1", or "q1a" or "g1q2".[/code]
This could be the reason why your conditions don't work.
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.
- kimdondo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
7 years 11 months ago #135284
by kimdondo
Replied by kimdondo on topic Set Conditions not working
I have changed the question codes and added letters but to no avail.
I had set conditions for P1 to certain questions which were relevant to that category as well as P2. For example:
P2: Below is the list of awards that you can enter. Click on the name of a category which you wish to enter and then click Next to proceed with your entry. (qid2735) equals At-retirement solution provider (A1)
I had set conditions for P1 to certain questions which were relevant to that category as well as P2. For example:
P2: Below is the list of awards that you can enter. Click on the name of a category which you wish to enter and then click Next to proceed with your entry. (qid2735) equals At-retirement solution provider (A1)
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
7 years 11 months ago #135286
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 Set Conditions not working
OK, give me a clear example for a question that appears if I choose a certain response for P1 or P2 so that I don't have to search.
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.
- kimdondo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
7 years 11 months ago #135396
by kimdondo
Replied by kimdondo on topic Set Conditions not working
Hi
So if You select P2 it should take you directly to question codes: AF1 - AF5 as well as BDSF1- BDSF6.
I was still building the survey and didn't go any further when I found the questions weren't linked.
So if You select P2 it should take you directly to question codes: AF1 - AF5 as well as BDSF1- BDSF6.
I was still building the survey and didn't go any further when I found the questions weren't linked.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
7 years 11 months ago #135397
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 Set Conditions not working
I find the survey works as expected.
When P2 == A1, I see AF1-AF5 (except AF1 is set to "Always hide this question")
When P2 == A2, I see AF5 (because there is no condition on that question) and then BDFS1-BDFS6
You can easily see all of the conditions in the logic file - manual.limesurvey.org/Show_Logic_File
When P2 == A1, I see AF1-AF5 (except AF1 is set to "Always hide this question")
When P2 == A2, I see AF5 (because there is no condition on that question) and then BDFS1-BDFS6
You can easily see all of the conditions in the logic file - manual.limesurvey.org/Show_Logic_File
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- kimdondo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
7 years 11 months ago #135398
by kimdondo
Replied by kimdondo on topic Set Conditions not working
Well whenever I test the survey the dropdowns don't appear after I select P2 in order for me to select AF1-5. Could this be a bug with my version of ls?
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 967
- Thank you received: 220
7 years 11 months ago #135403
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic Set Conditions not working
Did you try it with the default template? If that works OK, your problem may be in the template...
Tammo
Tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.