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

Add horizontal line to group question - however, one response is not grouped

  • 7 June 2024
  • 1 reply
  • 18 views

Userlevel 3
Badge +7

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.

 

icon

Best answer by MaggieGentry 10 June 2024, 15:58

View original

1 reply

Userlevel 3
Badge +7

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