# PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION

1 year 3 months ago #159652
miguelvillegas88 created the topic: PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
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

1 year 3 months ago #159656 by Joffm
Joffm replied the 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

Volunteers are not paid.
Not because they are worthless, but because they are priceless
##### Attachments:

1 year 3 months ago #159659
miguelvillegas88 replied the 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?
?

1 year 3 months ago - 1 year 3 months ago #159660 by Joffm
Joffm replied the topic: PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
Hello, Miguel,
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.
"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

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: 1 year 3 months ago by Joffm.
The following user(s) said Thank You: miguelvillegas88

1 year 3 months ago #159710
miguelvillegas88 replied the 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

1 year 3 months ago #159714 by Joffm
Joffm replied the topic: PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
No, "all in one" doesn't work.
Joffm

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

1 year 3 months ago - 1 year 3 months ago #159797
miguelvillegas88 replied the 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

p02b appear selected options
Last Edit: 1 year 3 months ago by miguelvillegas88.

1 year 3 months ago - 1 year 3 months ago #159807 by Joffm
Joffm replied the 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

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last Edit: 1 year 3 months ago by Joffm.

1 year 3 months ago - 1 year 3 months ago #159852
miguelvillegas88 replied the 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,

my filter matriz is Q1

thanks
##### Attachments:
Last Edit: 1 year 3 months ago by miguelvillegas88.

1 year 2 months ago - 1 year 2 months ago #159950 by Joffm
Joffm replied the topic: PRE-SELECT MULTIPLE OPTION RESPONSE, SELECTED IN PREVIOUS QUESTION
https://manual.limesurvey.org/Expression_Manager#The_reserved_.27this.27.2C_.27self.27.2C_and_.27that.27_variables

the function "countifop"
https://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: 1 year 2 months ago by DenisChenu. Reason: countifop typo
The following user(s) said Thank You: DenisChenu