Add horizontal line to group question - however, one response is not grouped | XM Community
Skip to main content

Qualtrics.SurveyEngine.addOnload(function() {
  jQuery("#"+this.questionId+" li.Selection").last().prev().css({"border-top":"2px solid #aaa","padding-top":"10px"});
});

I used this code, however it applied the line to the last group. I want the line to be above an option that is not in a group. See Image below - as you can see, Partners in Care and Volunteer are 2 groups - with contents - However, home is not in a group and I need the line to go above that, please.

 

Figured it out:

Qualtrics.SurveyEngine.addOnload(function() {
  jQuery("#"+this.questionId+" li.Selection").last().css({"border-top":"3px solid #aaa","padding-top":"10px"});
});


Leave a Reply