Show only selected answers from previous question

More
2 years 2 months ago #161441 by yohay
Hi ,

I Couldnt find how I can show only selected answers from previous multiple choice question.
I have multiple choice questions which requires 3 answers. I want to use the selected answers in the placeholders within the text of the the next question.
Is there a way of doing that ?

Many thanks

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

LimeSurvey Partners
More
2 years 2 months ago #161447 by Joffm
Hi,

I should use an equation question to produce the text for your placeholder.

Like:
{join(if(M01_SQ001=="Y",M01_SQ001.shown,""),if(M01_SQ002=="Y",M01_SQ002.shown,""),if(M01_SQ003=="Y",M01_SQ003.shown,""),if(M01_SQ004=="Y",M01_SQ004.shown,""),if(M01_SQ005=="Y",M01_SQ005.shown,""),if(M01_SQ006=="Y",M01_SQ006.shown,""))}

Of course you can enter the subquestion text instead of the "M01_SQ00X.shown" directly.

And in your next question just insert the {[EquationQuestionCode]}

Example with following ranking


Best regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The following user(s) said Thank You: yohay

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

More
2 years 2 months ago #161496 by StuartJKondziella
Placeholder Field Tutorial

We have created a tutorial video on this topic on our youtube channel.

Especially, pay attention to the sequence 04:30 until 05:45 to understand the placeholder-in-subsequent-question-text issue.

Best regards from Hamburg/Germany

Stuart Kondziella

LimeSurvey Support

LimeSurvey GmbH
Survey Services & Consulting
Papenreye 63
22453 Hamburg / Germany

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Web: www.limesurvey.org

Company headquarters: Hamburg,
District Court Hamburg HRB 13762
Tax ID 49 / 740...
The following user(s) said Thank You: holch, yohay

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

More
2 years 2 months ago #161501 by holch
@Stuart:
Nice to have some tutorials on LS.
But since when do we have to use the "question by question" mode to be able to use placeholder fields? Shouldn't this be possible in "Group by Group" mode as well? Of course you can use them only on a following "page" (group), but they should work as well, right?!

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
2 years 2 months ago - 2 years 2 months ago #161503 by StuartJKondziella
Well, you're right to a certain extent, I guess that didn't become quite clear in the video. If you're using the placeholder field

button, you will have to set the mode to question by question as far as I'm concerned, otherwise it will refuse to allow the

selection of previous subquestions/answer options. Of course, if you type the placeholder in the editor manually, group by

group can be set beforehand. Also, question by question can be changed to group by group after using the placeholder field

button. That has been my previous experience with it.

That can be updated in the video though.

Best regards from Hamburg/Germany

Stuart Kondziella

LimeSurvey Support

LimeSurvey GmbH
Survey Services & Consulting
Papenreye 63
22453 Hamburg / Germany

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Web: www.limesurvey.org

Company headquarters: Hamburg,
District Court Hamburg HRB 13762
Tax ID 49 / 740...
Last edit: 2 years 2 months ago by StuartJKondziella.

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

More
2 years 2 months ago #161505 by holch
OK, just watched the video for a little longer and now understand what you are referring to. Have never used this placeholder field button, didn't even really know it existed.

I am wondering why this is still using the somewhat outdated INSERTANS solution, if it could just use EM code (question and subquestion codes), which are more flexible, especially when copying / importing surveys. I am not sure what happens to the INSERTANS codes when a survey is copied or imported. Does the copy/import process adapt the INSERTANS codes?

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
2 years 2 months ago #161507 by StuartJKondziella
Yes, it adapts the INSERTANS correctly and transforms it to "QuestionX_SQ001.shown" etc.

Best regards from Hamburg/Germany

Stuart Kondziella

LimeSurvey Support

LimeSurvey GmbH
Survey Services & Consulting
Papenreye 63
22453 Hamburg / Germany

Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Web: www.limesurvey.org

Company headquarters: Hamburg,
District Court Hamburg HRB 13762
Tax ID 49 / 740...

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

More
2 years 2 months ago #161509 by holch
Great to know!

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
2 years 2 months ago #161556 by yohay
Thanks guys.
I wasn't aware of the EM type and its capabilities.
Will go ahead and use it

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

More
3 weeks 6 days ago - 3 weeks 6 days ago #192994 by miguelvillegas88
how it works, I can't find where to put the code of the equation question, assuming my code is {Eq}, thanks,
referring to Joffm's solution
Last edit: 3 weeks 6 days ago by miguelvillegas88.

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

More
3 weeks 6 days ago #193000 by holch
What do you mean??? You are answering to a post that is 2 years old and you do not describe your problem, how are we supposed to help you?

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: DenisChenu

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!