- Posts: 8
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Relevance equation pointing to box of array/numbers, checkbox layout
- frederikbrandenstein
- Topic Author
- Offline
- New Member
Less
More
5 years 3 weeks ago #181390
by frederikbrandenstein
Relevance equation pointing to box of array/numbers, checkbox layout was created by frederikbrandenstein
Hi everybody!
I'm stuck with the following (running LS 3.16.0):
For judging the relevance of question 2, I want to check whether a box in question 1 (Array, Numbers, Checkbox-Layout) was checked.
I thought it should be sth. in line with:
Didn't work, I do not get addressing the subquestion or its value right.
MWE attached, all help highly appreciated.
THX
Frederik
I'm stuck with the following (running LS 3.16.0):
For judging the relevance of question 2, I want to check whether a box in question 1 (Array, Numbers, Checkbox-Layout) was checked.
I thought it should be sth. in line with:
Code:
((question1_ya_xa.NAOK==1))
Didn't work, I do not get addressing the subquestion or its value right.
MWE attached, all help highly appreciated.
THX
Frederik
The topic has been locked.
- frederikbrandenstein
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
5 years 3 weeks ago #181409
by frederikbrandenstein
Replied by frederikbrandenstein on topic Relevance equation pointing to box of array/numbers, checkbox layout
update
see MWE attachement added.
see MWE attachement added.
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
5 years 3 weeks ago - 5 years 3 weeks ago #181410
by tpartner
If the question/sub-question codes are correct, try this:
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Relevance equation pointing to box of array/numbers, checkbox layout
Did you check the logic file for errors?Didn't work, I do not get addressing the subquestion or its value right.
If the question/sub-question codes are correct, try this:
Code:
!is_empty(question1_ya_xa.NAOK)
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 5 years 3 weeks ago by tpartner.
The topic has been locked.
- frederikbrandenstein
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
5 years 3 weeks ago #181414
by frederikbrandenstein
Replied by frederikbrandenstein on topic Relevance equation pointing to box of array/numbers, checkbox layout
Tony,
it works with your equation -- but only if I display the questions groupwise (sth. that took me some time to work out).
Is it possible to make it work in a "question by question" setup thus is it supposed to be limited to groupwise display?
Attached, find another MWE.
it works with your equation -- but only if I display the questions groupwise (sth. that took me some time to work out).
Is it possible to make it work in a "question by question" setup thus is it supposed to be limited to groupwise display?
Attached, find another MWE.
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
5 years 3 weeks ago #181425
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 Relevance equation pointing to box of array/numbers, checkbox layout
Why not use group-by-group and place questions in separate groups.
Sorry, I cannot review your file this week, I am contributing via phone.
Sorry, I cannot review your file this week, I am contributing via phone.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
5 years 3 weeks ago #181426
by jelo
Deactivate the mode in your survey theme settings and try again. It should work then in question by question mode too.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Relevance equation pointing to box of array/numbers, checkbox layout
I would recommend group display. But you might be the victim of the AJAX mode.frederikbrandenstein wrote: Is it possible to make it work in a "question by question" setup thus is it supposed to be limited to groupwise display?
Deactivate the mode in your survey theme settings and try again. It should work then in question by question mode too.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Attachments:
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
5 years 3 weeks ago - 5 years 3 weeks ago #181427
by DenisChenu
But it's broken with ajax mode.
You muts report this (major) issue : www.limesurvey.org/community/bug-tracker
Personnaly : i disable ajax mode always !
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 Relevance equation pointing to box of array/numbers, checkbox layout
I can confirm it work (with the first lss file) without ajax mode (and question by question mode).frederikbrandenstein wrote: Is it possible to make it work in a "question by question" setup thus is it supposed to be limited to groupwise display?
But it's broken with ajax mode.
You muts report this (major) issue : www.limesurvey.org/community/bug-tracker
Personnaly : i disable ajax mode always !
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.
Last edit: 5 years 3 weeks ago by DenisChenu.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12790
- Thank you received: 3941
5 years 3 weeks ago - 5 years 3 weeks ago #181428
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Relevance equation pointing to box of array/numbers, checkbox layout
sorry, wrong post
Joffm
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 5 years 3 weeks ago by Joffm.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
5 years 2 weeks ago #181462
by jelo
bugs.limesurvey.org/view.php?id=14616
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Relevance equation pointing to box of array/numbers, checkbox layout
The other way around. AjaxMode as a feature is broken. But an official statement about why it is worth to debug and test this feature, is still missing.DenisChenu wrote: But it's broken with ajax mode.
bugs.limesurvey.org/view.php?id=14616
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- frederikbrandenstein
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
5 years 2 weeks ago #181467
by frederikbrandenstein
Replied by frederikbrandenstein on topic Relevance equation pointing to box of array/numbers, checkbox layout
Okay everybody,
thank you very much for your quick response and help,
to wrap it up:
I filed a bug report: bugs.limesurvey.org/view.php?id=14620
I tested switching off ajax mode in the rather complex survey I am putting together and that works, so that will be the appropriate solution in my case.
thank you very much for your quick response and help,
to wrap it up:
I filed a bug report: bugs.limesurvey.org/view.php?id=14620
I tested switching off ajax mode in the rather complex survey I am putting together and that works, so that will be the appropriate solution in my case.
The topic has been locked.