Likert question with 19 options that allows respondent to only select 5 with ability to deselect answers | XM Community
Skip to main content

I’m building out a survey with a Likert question that has 19 different use cases and is asking respondent to identify and rank their top 5 (image provided below to clarify context). What is the best way to ensure they only select 5 (currently using a custom validation ensure that the count of each answer column = 1)?

How can I make it possible for the respondent to deselect answers? Currently, if the respondent selects answers on six rows, they get an error message because one of the counts <> 1, however they are unable to deselect one of their answers and cannot move on in the survey.

 

 

Would your survey be better surveyed by separating this into a ranked choice question and then asking them to rate their selections in a  follow up question that only pulls in the top n choices?


@newguyontheblock,

You should use a Rank Order, Format: Radio buttons question for this. Set validation to must rank between 5 and 5. Then you just need some JavaScript to hide ranks 6 through 19 (NOT Simple layout):

Qualtrics.SurveyEngine.addOnload(function() {
var max = 5;
var q = jQuery(this.questionContainer);
q.find(".Answers th").slice(max).hide();
q.find("tbody tr").each(function() { jQuery(this).find("td").slice(max).hide(); });
});

 


Leave a Reply