LS 1.92.....Multiple choice questions and array filter exclusion issue

More
5 years 5 months ago #80281 by mkb
mkb created the topic: LS 1.92.....Multiple choice questions and array filter exclusion issue
Hi,
I have a survey with 5 multiple choice question groups.
There are five pictures in each group. (they only select one picture per question). I have a max of 1.

So if they choose picture1 in the first group...picture1 will not show up in the following groups. I am using the array filter exclusion to do this by putting in the previous question ID.

I have that working for the first two questions...here is my problem.

Say the user chooses picture1 on the first group then picture2 on the second group...on the third group it should not show picture1 or picture2..but for some reason it shows picture1.

I tried putting in the array exclusion area q1;q2 and q1,q2.. but it then makes q3 not show any pictures at all.

I cant use ranking...these questions are not based that way and the user needs to see a clean set of pictures without their previous answers being shown.

Any help would be greatly appreciated,
Marilyn

Please Log in to join the conversation.

More
5 years 5 months ago #80284 by mkb
mkb replied the topic: LS 1.92.....Multiple choice questions and array filter exclusion issue
Checked all 5 groups. It is only hiding the previous answer...not the previous answer(s). I need it to hide all the previous answers

Please Log in to join the conversation.

More
5 years 5 months ago #80287 by TMSWhite
TMSWhite replied the topic: LS 1.92.....Multiple choice questions and array filter exclusion issue
are there any errors shown via the Show Survey Logic button?

If not, please attach the survey so it can be tested.

Please Log in to join the conversation.

More
5 years 5 months ago #80289 by mkb
mkb replied the topic: LS 1.92.....Multiple choice questions and array filter exclusion issue
The logic file shows no errors.

I moved the five questions to the beginning of the survey. Groups are:
life1, life2, life3, life4, life5

I also need to make 4 more of these sets, once I get this one going I will be fine.

Thank you,
Marilyn
Attachments:

Please Log in to join the conversation.

More
5 years 5 months ago #80290 by TMSWhite
TMSWhite replied the topic: LS 1.92.....Multiple choice questions and array filter exclusion issue
Your logic file is fine. You've found a bug.

It does work properly in all-in-one mode (with a separate bugfix from today).

I'll open a bug report about the fact that it doesn't work in group-by-group or question-by-question mode.

Please Log in to join the conversation.

More
5 years 5 months ago #80291 by mkb
mkb replied the topic: LS 1.92.....Multiple choice questions and array filter exclusion issue
Dang...I would rather it be something I did lol. How long do bugs usually take to fix? Any other suggestions on how I could do this? From what I read I think it doesn't work with radio buttons either.

Thanks so much for taking a look at my topic,
Marilyn

OOOH one more thing...how would I go about reporting issues I found wrong in LS V2. I was playing around with that for a week and found a couple things.

Please Log in to join the conversation.

More
5 years 5 months ago #80315 by Mazi
Mazi replied the topic: LS 1.92.....Multiple choice questions and array filter exclusion issue
@mkb: Please report all bugs at our Bugtracker ( bugs.limesurvey.org and attach your survey).

@Tom: Do you have a link to a bug report or can you describe the bug and its results on running surveys?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 5 months ago #80319 by TMSWhite
TMSWhite replied the topic: LS 1.92.....Multiple choice questions and array filter exclusion issue
Here is the bug report - bugs.limesurvey.org/view.php?id=6087

I've mostly fixed it (works for cascaded array_filter and array_filter_exclude, but not yet for mixture of array_filter and array_filter_exclude). I expect to finish off the fix this weekend.

Please Log in to join the conversation.

More
5 years 5 months ago #80323 by TMSWhite
TMSWhite replied the topic: LS 1.92.....Multiple choice questions and array filter exclusion issue
This bug has been fixed.

Please Log in to join the conversation.

More
5 years 5 months ago #80332 by mkb
mkb replied the topic: LS 1.92.....Multiple choice questions and array filter exclusion issue
Hi, TY so much for having that bug fixed so fast!!

I tried the ComfortUpdate and it did update a couple of the files I saw in the bug fix area. But it didn't work..still having the issue.

When I click on the file link in the bug area it opens the code...with no download link. The download button..takes me to a place where I can download a zip but it has a whole bunch of folders. I unzipped and cant find the Application/helpers files.

Maybe I havent had enough coffee this morning..but I am not understanding how to apply your fix.

Thanks again for the great help,
M

Please Log in to join the conversation.

More
5 years 5 months ago #80333 by TMSWhite
TMSWhite replied the topic: LS 1.92.....Multiple choice questions and array filter exclusion issue
The bugfix will be available in the next 1.92+ release.

It is possible to get the most current code from GitHub, but if you can wait a few days, it will soon be available via ComfortUpdate.

Please Log in to join the conversation.

More
5 years 5 months ago #80334 by mkb
mkb replied the topic: LS 1.92.....Multiple choice questions and array filter exclusion issue
WALLAAAAA it works!!! TY TY TY.

Once I get this thing going and start making money...expect another donation !!! No other survey program I searched has the power LS has.

Thanks again,
M

Please Log in to join the conversation.

More
5 years 5 months ago #80339 by Mazi
Mazi replied the topic: LS 1.92.....Multiple choice questions and array filter exclusion issue
You probably have to wait for the next release because such fixes are not added to ComfortUpdate immediately. We offer weekly bugfix updates.

Another alternative is to get the latest code from Github.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now