How Array_filter in previous Array (Text) question and Array question result

More
1 year 4 months ago #131200 by holch
holch replied the topic: How Array_filter in previous Array (Text) question and Array question result
Your example wasn't very helpful in the firstplace, because it didn't show the full picture (question 2 not showing).

The problem is that the array filter doesn't work with array questions as source, only multiple choice.

If you can't use multiple choice for the first question (I don't see why you couldn't), then you need to use relevance equation on subquestion level comes into play.

Go to question 2 and have a look at the end of the line, there should be the option to open a field to put the relevance equation (Symbol is an arrow).

I will see if I can make an example survey.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
1 year 4 months ago #131201 by holch
holch replied the topic: How Array_filter in previous Array (Text) question and Array question result
Here a question group with the two questions as example. With that you should be able to get your example done.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
Attachments:

Please Log in to join the conversation.

More
1 year 4 months ago #131231 by bogika0107
bogika0107 replied the topic: How Array_filter in previous Array (Text) question and Array question result
I'm really grateful your help, but i stucked with the program, it doesn't open the file. Error message:

"The languages of the imported group file must at least include the base language of this survey."

Please Log in to join the conversation.

More
1 year 4 months ago #131257 by tpartner
tpartner replied the topic: How Array_filter in previous Array (Text) question and Array question result
The group Holch provided is for an English survey. Create an English test survey and import it there.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
1 year 4 months ago #131260 by bogika0107
bogika0107 replied the topic: How Array_filter in previous Array (Text) question and Array question result
@Holch: thank you very much! It is cool. Just I didn't know what i had to write in this box! It's not to easy to me, but i think i will can with other questions to. If I think well I have to type this every time: question group code_question code_=="answercode what i want to show"

@tpart: Thank you! We can open the file! :)

Thank you very much!! :kiss:

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now