- Posts: 6
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Variable not declared until a later page- Error
- mark_h
- Topic Author
- Offline
- New Member
Less
More
9 years 7 months ago - 9 years 7 months ago #111414
by mark_h
Variable not declared until a later page- Error was created by mark_h
Hello-
I am having issues with conditions. Depending on an answer given on the first page of my survey most of the questions can be left out.
Unfortunately this does not seem to be working, on the reorder screen it states that the Variable is not declared until a later page, which is incorrect.
See attachment for screen shot, the NotHelp question on the first page is the one that should determine whether future questions are shown.
Using Version 2.05+ Build 140730
Am I doing something wrong?
I am having issues with conditions. Depending on an answer given on the first page of my survey most of the questions can be left out.
Unfortunately this does not seem to be working, on the reorder screen it states that the Variable is not declared until a later page, which is incorrect.
See attachment for screen shot, the NotHelp question on the first page is the one that should determine whether future questions are shown.
Using Version 2.05+ Build 140730
Am I doing something wrong?
Attachments:
Last edit: 9 years 7 months ago by mark_h.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
9 years 7 months ago #111442
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 Variable not declared until a later page- Error
Try testing the complete survey and then look at the Survey Logic File. What does it say?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- mark_h
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
9 years 7 months ago #111460
by mark_h
Replied by mark_h on topic Variable not declared until a later page- Error
Thanks
I am having some odd behaviour from the survey. Sometimes it works as expected then, a few seconds later, it displays the questions in the wrong order (with the questions that determine what to display at the end, after displaying all the other questions).
After running in the wrong order the Survey Logic file displays errors, it also has the questions in the wrong order.
Testing a few times the system seems to randomly display the questions correctly, or in the wrong order. There does not seem to be any link between using a new web browser (without LS cookies) and whether the survey is displayed in the correct order. The Survey Logic file does not seem to update with each run (it can run correctly but display errors in the logic file or run wrongly and not display errors).
The switching between running correctly and wrongly can happen when using the test mode or with the survey live.
I am having some odd behaviour from the survey. Sometimes it works as expected then, a few seconds later, it displays the questions in the wrong order (with the questions that determine what to display at the end, after displaying all the other questions).
After running in the wrong order the Survey Logic file displays errors, it also has the questions in the wrong order.
Testing a few times the system seems to randomly display the questions correctly, or in the wrong order. There does not seem to be any link between using a new web browser (without LS cookies) and whether the survey is displayed in the correct order. The Survey Logic file does not seem to update with each run (it can run correctly but display errors in the logic file or run wrongly and not display errors).
The switching between running correctly and wrongly can happen when using the test mode or with the survey live.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
9 years 7 months ago #111462
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 Variable not declared until a later page- Error
Hmmm...that is odd. Try exporting and re-importing the survey.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
9 years 7 months ago #111463
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 Variable not declared until a later page- Error
Did you set a randomization group, by any chance?
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.
- mark_h
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
9 years 7 months ago #111543
by mark_h
Replied by mark_h on topic Variable not declared until a later page- Error
Thanks-
The person who designed the survey had added "no" in the randomisation group for two of the question groups (not quite sure why!).
Removing this and it seems to be working fine now.
Thanks for your help
Mark
The person who designed the survey had added "no" in the randomisation group for two of the question groups (not quite sure why!).
Removing this and it seems to be working fine now.
Thanks for your help
Mark
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11746
- Thank you received: 2750
9 years 7 months ago - 9 years 7 months ago #111553
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 Variable not declared until a later page- Error
Sometimes it is the small things that screw up your survey. :laugh:
Glad to be able to help.
Glad to be able to help.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Last edit: 9 years 7 months ago by holch.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
9 years 7 months ago #111621
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Variable not declared until a later page- Error
Good catchholch wrote: Did you set a randomization group, by any chance?
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.