Put box around answer choices for ranking question? | XM Community
Skip to main content

Put box around answer choices for ranking question?

  • April 29, 2020
  • 1 reply
  • 19 views

Forum|alt.badge.img

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

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • April 29, 2020

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