Array filter exclusion based on radio list with EM

More
4 years 9 months ago - 4 years 9 months ago #88927 by Dennis
Dennis created the topic: Array filter exclusion based on radio list with EM
Hi everybody,

I have a question regarding filtering an array based on a radio list question. As the normal array filter only works with multiple choice questions, I wanted to use the Expression Manager (LS 2.00+ b121121).

I included a simplified example of the survey with two questions. This is a project evaluation. In the project are three roles: the project manager, researchers and supporting staff. The respondents are asked to rate the performance of the other team members. The project manager is not suppose to rate himself, so for him this option should be excluded from the array.

I looked at the examples of the Expression Manager, but got stuck. Any hints? Is this possible using the EM?

Thanks,

Dennis

File Attachment:

File Name: test.lss
File Size:24 KB
Attachments:
Last Edit: 4 years 9 months ago by Dennis.

Please Log in to join the conversation.

More
4 years 9 months ago #88933 by TMSWhite
TMSWhite replied the topic: Array filter exclusion based on radio list with EM
Any multiple choice or array type question can filter or be filtered by any other.

Please Log in to join the conversation.

More
4 years 9 months ago #88934 by Dennis
Dennis replied the topic: Array filter exclusion based on radio list with EM
Sure, but now I need to filter an array by a radio list question which is 'normally' not possible. I wondered if there is a workaround for that?

Please Log in to join the conversation.

More
4 years 9 months ago #88935 by TMSWhite
TMSWhite replied the topic: Array filter exclusion based on radio list with EM
Array filtering DOES work for radio list (question type 'L'). It has been fully tested - just not fully documented.

Array filtering is not configured for List-dropdown (question type '!')

Please Log in to join the conversation.

More
4 years 9 months ago #88955 by Dennis
Dennis replied the topic: Array filter exclusion based on radio list with EM
Ok, I tried that, but when I enter the code of the first question ('role') in the array filter field of the second (see survey attached to opening post), all options appear at once?

Please Log in to join the conversation.

More
4 years 9 months ago #88960 by TMSWhite
TMSWhite replied the topic: Array filter exclusion based on radio list with EM
You have found a bug that affects both 1.92 and 2.0. Please report it at bugs.limesurvey.org

Please Log in to join the conversation.

More
4 years 9 months ago #89061 by Dennis
Dennis replied the topic: Array filter exclusion based on radio list with EM
Ok, I will do that. Thanks for the support.

Please Log in to join the conversation.

More
4 years 9 months ago #90397 by Einnor
Einnor replied the topic: Array filter exclusion based on radio list with EM
Hello, I'm trying to do something similar. Is there any news on fixing the bug?

I would like to either:

multiple short text filter exclusion based on numerical input.

or

multiple short text filter exclusion based on radio list.

Is that possible?

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now