additional space to DK option | XM Community
Solved

additional space to DK option

  • 18 March 2019
  • 3 replies
  • 7 views

Userlevel 1
Hi
There are many related question on this topic but none actually answered my specific question. In a MC item, I would like to add space between options but only between the second last and last option ("Don't Know" option). (I know, Qualtrics recommends to refrain from a the Don't Know option but in this case I have no choice.) This is to highlight that the number of "real" choices is even on the scale.
Thanks in advance
icon

Best answer by NiC 18 March 2019, 20:48

View original

3 replies

Userlevel 7
Badge +27
Hi @automaticadd

you can add the following code in the JS section inside Onload function:

`jQuery("#"+ this.questionId+" label").eq(-1).css('margin-top','30px');`

this will add some margin at top of the last option in a question.

you can change the value of "30px" to suit your preference.

Regards
NiC
Hello @automaticadd ,

Paste the below code in the js(OnReady) of the MC question:

`jQuery("#"+ this.questionId+" .Selection:last").css('margin-top','30px');`
Userlevel 1
Thank you both so much. Both worked perfectly!

Leave a Reply