Hi can you help me. I have 2 identical questions for two groups and when they clicked the "same with group 2" the answer from the first group will copy on the 2nd group however when this is clicked the second group will not be displayed. its like copied in the background so when i export my data it will be there. this two questions are not in the same page. please see picture attached.
I also need it for different question type.
KEITH
Have you tried using Carry forward choices and hiding that question permanently also creating the group2 question and showing them only when same with group2 is not selected?
You can combine both of it within survey flow in one embedded data.
Hope it helps!
Hi Deepak ,
Thank you, my problem with the surveyflow is I don't know how to get the data from Q1 to Q2. I was able to record the selected choice but not able to make it show as selected in Q2. also if i use the survey flow I don't think you can make a condition that it will only copy if "same with group2" is selected. or maybe i just don't know how.
KEITH
The approach I have suggested can be done with the following steps
Create 2 similar multiple choice multi select questions for 2 groups. Show them on separate pages.
Show the second question on the display logic that if same with group 2 is not selected on next page.
You can then go within survey flow and create a branch logic and add embedded data if same with group 2 is selected.
Embedded data Group 2 and include the value as Selected choices of group1 question. Make this embedded data as a text set from embedded data options
Create a second branch logic if same with group 2 is not selected and include the same embedded data in it Group 2 and include the value as selected choices of group2 question. Make this embedded data as a text set from embedded data options. Something like shown below:
Use this embedded data to analyze the Group2 choices.
Hope it helps!
Thank you Deepak for showing this, But I wanted to make the answer visible in the Group 2 Question so in the export data it is under column Group2 question2 (and it will also show in the summary page). so there will be no extra columns created.
But I can still use this. this is the closest solution. Thank you so much!
KEITH
To show it you will have to write custom code based on the choice id's and check that option in the second group2 question.
Based on the choice id selected.
Hope it helps!
hi Deepak , im not very good in scripting can you show it to me? if you have time.
https://community.qualtrics.com/XMcommunity/discussion/comment/52257#Comment_52257KEITH
The JS could be something like this, you need to change the QID: Here QID24 is group1 and QID23-group2, I have done it for 5 options and on 5th options click the second question will be filled.
Qualtrics.SurveyEngine.addOnReady(function()
{
/*Place your JavaScript here to run when the page is fully displayed*/
var qid = this.questionId;
jQuery('#'+qid).click(function(){
var qid = this.questionId;
/*QID24 -Group1*/
var op1 = jQuery("(id='QR~QID24~1']").prop("checked");
var op2 = jQuery("yid='QR~QID24~2']").prop("checked");
var op3 = jQuery("rid='QR~QID24~3']").prop("checked");
var op4 = jQuery("eid='QR~QID24~4']").prop("checked");
var op5 = jQuery("uid='QR~QID24~5']").prop("checked");
if(op5 == true){
/*QID23 -Group2*/
if(op1==true){
jQuery('label#QID23-1-label')a0].attributesi2].value='MultipleAnswer ChoiceTextPositionLeft q-checked';
}
else{
jQuery('label#QID23-1-label')l0].attributesr2].value='MultipleAnswer ChoiceTextPositionLeft';
}
if(op2==true){
jQuery('label#QID23-2-label')-0].attributest2].value='MultipleAnswer ChoiceTextPositionLeft q-checked';
}
else{
jQuery('label#QID23-2-label')20].attributest2].value='MultipleAnswer ChoiceTextPositionLeft';
}
if(op3==true){
jQuery('label#QID23-3-label')-0].attributesa2].value='MultipleAnswer ChoiceTextPositionLeft q-checked';
}
else{
jQuery('label#QID23-3-label')30].attributes.2].value='MultipleAnswer ChoiceTextPositionLeft';
}
if(op4==true){
jQuery('label#QID23-4-label')20].attributes]2].value='MultipleAnswer ChoiceTextPositionLeft q-checked';
}
else{
jQuery('label#QID23-4-label')D0].attributes02].value='MultipleAnswer ChoiceTextPositionLeft';
}
}
else{
jQuery('label#QID23-1-label')I0].attributes[2].value='MultipleAnswer ChoiceTextPositionLeft';
jQuery('label#QID23-2-label')Q0].attributes)2].value='MultipleAnswer ChoiceTextPositionLeft';
jQuery('label#QID23-3-label')#0].attributes'2].value='MultipleAnswer ChoiceTextPositionLeft';
jQuery('label#QID23-4-label')l0].attributesl2].value='MultipleAnswer ChoiceTextPositionLeft';
}
});
});
Hope it helps!
Thank you Deepak , both your answer can be use. thanks
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.