Display selected items from Multiple Choice in a later question

More
3 years 9 months ago #114514 by anikas
anikas created the topic: Display selected items from Multiple Choice in a later question
Hi

I have a list of items (text) in a Multiple Choice question ... and the respondent is asked to select "any that apply".

Once they select from among the list, I would like the selected items (i.e. subquestions) to be displayed in a subsequent question (maybe a Text Display question).

Is this possible?

Thanks in advance!!!

A

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago - 3 years 9 months ago #114516 by tpartner
tpartner replied the topic: Display selected items from Multiple Choice in a later question
See Expression Manager Tailoring/Piping - manual.limesurvey.org/Expression_Manager#Tailoring_.2F_Piping

So, for example, if your multiple-choice has question code "q1" and sub-questions "SQ001, SQ002...", you could use this to show the text from option 1 if checked:
{q1_SQ001.shown}

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 3 years 9 months ago by tpartner.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #114517 by anikas
anikas replied the topic: Display selected items from Multiple Choice in a later question
Tony!

That's fantastic, it works ... and an uber-fast response too :-)

thanks a million!

A

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago - 3 years 9 months ago #114540 by mynameislime
mynameislime replied the topic: Display selected items from Multiple Choice in a later question
Hi! This was exactly what I was looking for. But could you give me a closer hint exactly how you do this? I'm quite new at Limesurvey, so I don't really know where to enter this. I have a few questiongroups with multiple choice questions, and I intend making copies of each of these, but in later views only show the selected ones, and use them in other question types. But I still can't get there from what you wrote here.

I'd be very grateful for a bit more description how you do this. Thanks beforehand.

/Adrian
Last Edit: 3 years 9 months ago by mynameislime. Reason: misspell

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #114550 by holch
holch replied the topic: Display selected items from Multiple Choice in a later question
Your problem is quite different to what anikas wanted to know.

You should have a look at the Expression Manager.

For example you can use relevance equations in subsequent questions and hide and show them, based on the answers given in previous question.

e.g. If you insert something like this {Q1_SQ001==1} into the relevance equation of a question, this question will only be shown if the subquestion SQ001 of question Q1 equals 1 (you need to see what applies for your survey of course).

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
The following user(s) said Thank You: mynameislime

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #114586 by mynameislime
mynameislime replied the topic: Display selected items from Multiple Choice in a later question
Thanks! I'll try that at once! Is it ok to write on this thread, or do you want me to create a new one?
Thanks
Adrian

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #114588 by mynameislime
mynameislime replied the topic: Display selected items from Multiple Choice in a later question
I tried it, but can't seem to get the effect I'm looking for. Most probably because I'm doing it wrong. I want the question to be visible, but with only the previously selected multiple choice subquestions.

As I first understood it, the whole question would be visible or not depending on previous answers on one or several checks in one of the included multiple choice subquestions, but I want only the selected independent subquestions previously checked to be the ones visible in the next question. Is this possible, and maybe this is how you meant it and I'm simply doing it wrong.

Thanks
Adrian

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #114589 by mynameislime
mynameislime replied the topic: Display selected items from Multiple Choice in a later question
So what I'm basically after is being able to check expressions against each multiple choice on a subquestion level instead of on a question level.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #114592 by holch
holch replied the topic: Display selected items from Multiple Choice in a later question
I guess what you are looking for is the array filter option.

So if you have a multiple choice question where people can choose products they use, on a array question after that you can set the array filter and only those items are shown for evaluation, that have been chosen in the previous multiple choice question.

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
The following user(s) said Thank You: mynameislime

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #114594 by mynameislime
mynameislime replied the topic: Display selected items from Multiple Choice in a later question
Yes, thank you holch, I was slowly coming to that conclusion. But I couldn't find the multiple choice option available as an array question. I'd have wanted the same setup, but with less (previously selected) same type of multiple choice questions.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #114596 by holch
holch replied the topic: Display selected items from Multiple Choice in a later question
Well, as far as I know, the array filter also works with two multipe choice questions.

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 or Create an account to join the conversation.

More
3 years 9 months ago #114605 by mynameislime
mynameislime replied the topic: Display selected items from Multiple Choice in a later question
Thanks again for the quick replies. I'll see if I can get it done with the options available for the array type question. Do you know at all if there might be an update that includes multiple choice in an array question? I guess it might be too much speculation to guess? :)

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #114606 by mynameislime
mynameislime replied the topic: Display selected items from Multiple Choice in a later question
So, I'm still guessing my way here. The only way of me using this option would be if I only add one multiple choice subquestion to each question. As I can get a question to show or not based on dependencies, but not a subquestion? Sorry for all questions, but I'm trying to figure it out. :)

Thanks
Adrian

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #114627 by tpartner
tpartner replied the topic: Display selected items from Multiple Choice in a later question
Please refer to the manual.

As Holch says, the array filter DOES work with two mutiple-choice questions - manual.limesurvey.org/Question_type_-_Mu...r_.28array_filter.29



.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: mynameislime

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #114632 by mynameislime
mynameislime replied the topic: Display selected items from Multiple Choice in a later question
Thank you! I promise to check this out some more before spamming my questions :)

Best regards
Adrian

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!