Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Insert multiple choice text proposal in next questions

  • loloko
  • loloko's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #173943 by loloko
Hi,

I would like to create groups of questions only when a multiple choice item has been checked and include the text of the proposal in the next group or questions.

For example:

G1 'Books'

Q1 Which books have you bought:

- harry potter
- percy jackson
- hunger game
- divergent

If the respondent choose 'harry potter', I would like that the next group of question take it:

G2 Because you have bought 'harry potter', ....

Q1
Q2

This is because I have a long list when only some will be picked up and for each of theme I have several questions (always the same)

I have no idea to do it. If I use { } only 'Y' appears

I also would like the group of questions will be repeated as many times as neede, according to the number of items checked in G1 Q1

What is the best way to achieve this?

Thank you for your help
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 7 months ago #173946 by Joffm
Hi, the buzzword is "micro tayloring"
manual.limesurvey.org/Expression_Manager...7BMrs.7D_Smith....22

E.g. you can use:
{if(Q1_SQ001=="Y","Harry Potter","")}
{if(Q1_SQ002=="Y","percy jackson","")}
...

So, for each of the selected options in Q1 you ask the next questions?
Or do you want to display something like
Because you have bought 'harry potter', 'percy jackson', 'Hunger Games' ...
Here you can use the "join" or "list" function.

I have no idea to do it. If I use { } only 'Y' appears

Surely you did not just use { }. The content would have been important.
See: manual.limesurvey.org/Expression_Manager#Access_to_Variables

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: loloko
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 7 months ago #173947 by DenisChenu
Or : Q1_SQ001.shown (if it's a multiple choice question type)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: loloko
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 7 months ago #173968 by holch
In addition to the answers that you received already? Limesurvey can not dynamically create the groups for each book. You will need to create as many of the groups as you have books in Q1 and then hide/show these groups via relevance equation.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: loloko
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose