- Posts: 14
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Values in dual array not accessible
- 0711master
- Topic Author
- Offline
- New Member
Less
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
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 .
Code:
{ (V16C_SQ001_0 == 1) or (V16C_SQ001_1 == 1) }
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
6 years 3 months ago #162332
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 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)
(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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
6 years 3 months ago #162410
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 Values in dual array not accessible
Yes, that relevance equation does work.
Working sample survey attached:
Working sample survey attached:
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The topic has been locked.
- 0711master
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
6 years 3 months ago #162418
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 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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
6 years 3 months ago #162421
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 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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
6 years 3 months ago #162432
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 Values in dual array not accessible
No problem, I got it -
bugs.limesurvey.org/view.php?id=13160
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
6 years 3 months ago #162437
by jelo
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
Replied by jelo on topic Values in dual array not accessible
Sometimes a bit messed up. Try to login via this page with your LimeSurvey profile credentials.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...
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.