Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Values in dual array not accessible

  • 0711master
  • 0711master's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #162299 by 0711master
Values in dual array not accessible was created by 0711master
I have a dual array question with one sub question and two yes/no answers. I want to display the next qestion only if one of the two yeses is selected. To do this I put
Code:
{ (V16C_SQ001_0 == 1) or (V16C_SQ001_1 == 1) }
in the next question. The problem is, that the value apparently is always 0. Or am I doing something wrong? I'm new to Limesurvey since yesterday :D.

Attachments:
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 3 months ago #162332 by tpartner
Replied by tpartner on topic Values in dual array not accessible
You should be looking for the answer codes, not the assessment values.

(also, you don't need curly braces in relevance equations)

Code:
V16C_SQ001_0 == 'A1' OR V16C_SQ001_1 == 'A1'

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • 0711master
  • 0711master's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago - 6 years 3 months ago #162385 by 0711master
Replied by 0711master on topic Values in dual array not accessible
I already tried this, but it doesn't work...
Last edit: 6 years 3 months ago by 0711master.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 3 months ago #162410 by tpartner
Replied by tpartner on topic Values in dual array not accessible
Yes, that relevance equation does work.

Working sample survey attached:

File Attachment:

File Name: limesurvey...1-10.lss
File Size:16 KB

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • 0711master
  • 0711master's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #162412 by 0711master
Replied by 0711master on topic Values in dual array not accessible
I imported your file, but the condition is not working on my installation. I also tried 3 different browsers.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 3 months ago #162418 by tpartner
Replied by tpartner on topic Values in dual array not accessible
What LimeSurvey version are you using?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • 0711master
  • 0711master's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #162420 by 0711master
Replied by 0711master on topic Values in dual array not accessible
The latest: 3.0.1+171228
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 3 months ago #162421 by tpartner
Replied by tpartner on topic Values in dual array not accessible
That appears to be a bug, please file a bug report and include the test 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.
  • 0711master
  • 0711master's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #162429 by 0711master
Replied by 0711master on topic Values in dual array not accessible
When I go on the bug report site I'm only logged in as anonymous. When I click on registration it says, that I am already logged in...
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 3 months ago #162432 by tpartner
Replied by tpartner on topic Values in dual array not accessible

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • 0711master
  • 0711master's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 3 months ago #162436 by 0711master
Replied by 0711master on topic Values in dual array not accessible
Thank you!
The topic has been locked.
More
6 years 3 months ago #162437 by jelo
Replied by jelo on topic Values in dual array not accessible

0711master wrote: When I go on the bug report site I'm only logged in as anonymous. When I click on registration it says, that I am already logged in...

Sometimes a bit messed up. Try to login via this page with your LimeSurvey profile credentials.
bugs.limesurvey.org/login_page.php
If you are already logged is as guest or someone else, log out and then login again.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose