Put box around answer choices for ranking question? | XM Community

Put box around answer choices for ranking question?

  • 30 April 2020
  • 1 reply
  • 12 views

Badge

Below is an example ranking question with 3 answer choices to be ranked:
Screen Shot 2020-04-29 at 3.00.20 PM.pngWhen I actually try out the survey, the response options (Option 1, Option 2, and Option 3) are tough to distinguish. Is it possible to put a box around each answer choice? That is, Option 1 would have a box around it, and so on. I know how to do this with html for the question stem, but I don't know how to apply it for the response options. Maybe javascript is the right choice?


1 reply

Userlevel 7
Badge +22

Try the below JS
jQuery("#"+this.questionId+" .ui-sortable li").css({"border":"1px solid red","margin-bottom": "5px"});

Leave a Reply