Random selection | XM Community
Skip to main content

I have an awareness question in a survey where I am showing a list of brands. If the respondents select more than two brands, I want the program to randomly pick two brands and insert those in the subsequent questions. To accomplish this, I have added two questions which just randomly select two brands and have hidden these from respondents using a Java script (detailed below). The survey program is working alright, but the random selection data (brands) is not being captured.
Does any one know how do I capture the randomly selected brand data?
Here is the Java script:
Qualtrics.SurveyEngine.addOnload(function() {
   jQuery("#"+this.questionId).hide();
   jQuery("#Buttons").hide();
});   
Qualtrics.SurveyEngine.addOnReady(function() {
   jQuery('#NextButton').click();
});

In piped text, you have an option for

selected choices
.


Leave a Reply