- Posts: 19
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
- miguelvillegas88
- Topic Author
- Offline
- New Member
Less
More
6 years 5 months ago #159652
by miguelvillegas88
PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION was created by miguelvillegas88
HELLO, IT'S MY FIRST POST, I HAVE A DOUBT AND I DO NOT HOW TO SOLVE IT.
I HAVE 3 QUESTIONS WITH MULTIPLE OPTION (THE SAME ANSWERS FOR ALL)
Q01 YOU HAVE A LIST OF ANSWERS YOU MUST SELECT ONLY 1
Q02 HAS THE SAME LIST OF ANSWERS, YOU CAN SELECT MANY, THE RESPONSE OF Q01, MUST APPEAR SELECTED
Q03 ONLY SHOW ME THE OPTIONS TO SELECT THE CHOICES IN Q2 (I UNDERSTAND THAT THIS IS MADE WITH FILTER MATRIX)
THE PROBLEM IS WITH Q01 AND Q02 (DRAG THE PREVIOUSLY SELECTED ANSWER, AND SELECTED IN Q02)
I HOPE YOU CAN HELP ME
I HAVE 3 QUESTIONS WITH MULTIPLE OPTION (THE SAME ANSWERS FOR ALL)
Q01 YOU HAVE A LIST OF ANSWERS YOU MUST SELECT ONLY 1
Q02 HAS THE SAME LIST OF ANSWERS, YOU CAN SELECT MANY, THE RESPONSE OF Q01, MUST APPEAR SELECTED
Q03 ONLY SHOW ME THE OPTIONS TO SELECT THE CHOICES IN Q2 (I UNDERSTAND THAT THIS IS MADE WITH FILTER MATRIX)
THE PROBLEM IS WITH Q01 AND Q02 (DRAG THE PREVIOUSLY SELECTED ANSWER, AND SELECTED IN Q02)
I HOPE YOU CAN HELP ME
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12715
- Thank you received: 3926
6 years 5 months ago #159656
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
Hello, so Q1 is a single punch question.
After Q1 insert an equation to fill the subquestion of Q2.
{Q2_SQ001=if(Q1==1,"Y","")}
{Q2_SQ002=if(Q1==2,"Y","")}
...
As you said the next step is Matrix filter.
Sample attached.
Best regards
Joffm
After Q1 insert an equation to fill the subquestion of Q2.
{Q2_SQ001=if(Q1==1,"Y","")}
{Q2_SQ002=if(Q1==2,"Y","")}
...
As you said the next step is Matrix filter.
Sample attached.
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The topic has been locked.
- miguelvillegas88
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
6 years 5 months ago #159659
by miguelvillegas88
Replied by miguelvillegas88 on topic PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
Thanks, is exactly like i wanted, in the option s1 (q1) can be mulple instead of radio?
?
?
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12715
- Thank you received: 3926
6 years 5 months ago - 6 years 5 months ago #159660
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
Hello, Miguel,
of course there can be a multiple question.
But you said:
If Q01 is a multiple question, just adapt the equation.
Instead of:
"Subquestion 1 of Q2 = "Y", if Q1 == 1", just say:
"Subquestion 1 of Q2 = "Y", if Subquestion 1 of Q1 == "Y""
{Q2_SQ001=if(Q1_SQ001=="Y","Y","")}
But:
I understand your scenario similar to:
Awareness of brands
1. Top of mind.
2. Total known
3. Question only about known brands (in Q1 or Q2)
This I would do a bit differently. (without equation)
Q1: multiple with setting "max 1 answer" (or more, up to you)
Q2: multiple with matrix exclusion filter Q1
Q3: multiple with subquestion relevance (e.g. Q1_SQ001=="Y" OR Q2_SQ001=="Y")
See attached file
Best regards
Joffm
AND: PLEASE DO NOT CROSSPOST.
You asked the same question at the same time in the spanish section.
So we might waste our time as volunteers here not knowing that you already got a satisfying answer in the other section and viceversa.
of course there can be a multiple question.
But you said:
Q01 YOU HAVE A LIST OF ANSWERS YOU MUST SELECT ONLY 1
If Q01 is a multiple question, just adapt the equation.
Instead of:
"Subquestion 1 of Q2 = "Y", if Q1 == 1", just say:
"Subquestion 1 of Q2 = "Y", if Subquestion 1 of Q1 == "Y""
{Q2_SQ001=if(Q1_SQ001=="Y","Y","")}
But:
I understand your scenario similar to:
Awareness of brands
1. Top of mind.
2. Total known
3. Question only about known brands (in Q1 or Q2)
This I would do a bit differently. (without equation)
Q1: multiple with setting "max 1 answer" (or more, up to you)
Q2: multiple with matrix exclusion filter Q1
Q3: multiple with subquestion relevance (e.g. Q1_SQ001=="Y" OR Q2_SQ001=="Y")
See attached file
Best regards
Joffm
AND: PLEASE DO NOT CROSSPOST.
You asked the same question at the same time in the spanish section.
So we might waste our time as volunteers here not knowing that you already got a satisfying answer in the other section and viceversa.
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last edit: 6 years 5 months ago by Joffm.
The following user(s) said Thank You: miguelvillegas88
The topic has been locked.
- miguelvillegas88
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
6 years 5 months ago #159710
by miguelvillegas88
Replied by miguelvillegas88 on topic PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
I have a question, does this only work in question by question? I try to do the work all in one, but doesn´t work
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12715
- Thank you received: 3926
6 years 5 months ago #159714
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
No, "all in one" doesn't work.
Joffm
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: miguelvillegas88
The topic has been locked.
- miguelvillegas88
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
6 years 5 months ago - 6 years 5 months ago #159797
by miguelvillegas88
Replied by miguelvillegas88 on topic PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
hello, i have this situation
Q1: A1, OTHER: = OPTION MULTIPLE MAX ANSWER 1
Q2: A1, and OTHER{Q1_other} i want only other checkbox appear when in Q1 select other option if select A1, only appear A1
I hope to be able to explain
encuestas.agamarketing.com.mx/index.php/138556?lang=es-MX
in p01(select one)-p01share (select preview answer of p01 and news)-p01a(select p01 and p01share and news)
p02b appear selected options
Q1: A1, OTHER: = OPTION MULTIPLE MAX ANSWER 1
Q2: A1, and OTHER{Q1_other} i want only other checkbox appear when in Q1 select other option if select A1, only appear A1
I hope to be able to explain
encuestas.agamarketing.com.mx/index.php/138556?lang=es-MX
in p01(select one)-p01share (select preview answer of p01 and news)-p01a(select p01 and p01share and news)
p02b appear selected options
Last edit: 6 years 5 months ago by miguelvillegas88.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12715
- Thank you received: 3926
6 years 5 months ago - 6 years 5 months ago #159807
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
IMO you use a normal array filter.
In Q1 you set "option Other: ON"
In Q2 you have the same subquestions as Q1, and additional the "other"
code= "other"
subquestion ="{Q1_other}"
But I do not understand.
If you have a max answer==1 in Q1, in Q2 will only appear one item.
Or do I miss something?
Best regards
Joffm
In Q1 you set "option Other: ON"
In Q2 you have the same subquestions as Q1, and additional the "other"
code= "other"
subquestion ="{Q1_other}"
But I do not understand.
If you have a max answer==1 in Q1, in Q2 will only appear one item.
Or do I miss something?
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 years 5 months ago by Joffm.
The topic has been locked.
- miguelvillegas88
- Topic Author
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 0
6 years 4 months ago - 6 years 4 months ago #159852
by miguelvillegas88
Replied by miguelvillegas88 on topic PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
Hi, can you help me?
in q1 i have array numbers, when select like in image 1,
in q3, must appear only selected box,
added my configuration survey.
my filter matriz is Q1
thanks
in q1 i have array numbers, when select like in image 1,
in q3, must appear only selected box,
added my configuration survey.
my filter matriz is Q1
thanks
Last edit: 6 years 4 months ago by miguelvillegas88.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12715
- Thank you received: 3926
6 years 4 months ago - 6 years 4 months ago #159950
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
You should read about the "that"-variable,
manual.limesurvey.org/Expression_Manager....27that.27_variables
the function "countifop"
manual.limesurvey.org/Expression_Manager#Implemented_Functions
Now you count the checked boxes in each column and set subquestion relevance in q3 to "colcount>0"
manual.limesurvey.org/Expression_Manager....27that.27_variables
the function "countifop"
manual.limesurvey.org/Expression_Manager#Implemented_Functions
Now you count the checked boxes in each column and set subquestion relevance in q3 to "colcount>0"
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 years 4 months ago by DenisChenu. Reason: countifop typo
The following user(s) said Thank You: DenisChenu
The topic has been locked.