- Posts: 2
- Thank you received: 0
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
- Topic Author
- Offline
- New Member
Less
More
5 years 7 months ago #173943
by loloko
Insert multiple choice text proposal in next questions was created 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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12908
- Thank you received: 3970
5 years 7 months ago #173946
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Insert multiple choice text proposal in next questions
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.
See: manual.limesurvey.org/Expression_Manager#Access_to_Variables
Joffm
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.
Surely you did not just use { }. The content would have been important.I have no idea to do it. If I use { } only 'Y' appears
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13624
- Thank you received: 2490
5 years 7 months ago #173947
by DenisChenu
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.
Replied by DenisChenu on topic Insert multiple choice text proposal in next questions
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
- Online
- LimeSurvey Community Team
Less
More
- Posts: 11644
- Thank you received: 2738
5 years 7 months ago #173968
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Insert multiple choice text proposal in next questions
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.