additional space to DK option | XM Community
Skip to main content
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
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');`
Thank you both so much. Both worked perfectly!

Leave a Reply