How do I add space between questions? | XM Community
Skip to main content

I am using carry forward with Form Field, when the questions are displayed, they have no space between them making it look like one giant paragraph with 3 text boxes. How do I increase the space between questions when I use Form Field with carry forward?

Could you provide a screenshot so that I can better understand the issue?


image.pngThese three were options selected as part of question 1 which carried over to Q2, but the formatting is quite off. No space between the 3 . I want it to look like the below
image.pngHope this clarifies.


shubhas

This can be easily done by tweaking some Border or padding CSS code. Try finding object class of the statements using "inspect element" in browser and adjust border or padding.


Hi there, I found a thread that I think will be helpful to you. In that, TomG provides JavaScript that adds the CSS dipeshsingh mentions. Below also for reference:
Qualtrics.SurveyEngine.addOnload(function() {
jQuery("#"+this.questionId+" td").css("padding", "10px 0px");
});


You can use this code if you prefer to use CSS

image.png


shubhas
Use this code (Form field) :
jQuery("

").insertAfter(jQuery('.ChoiceStructure').find("tr"))


Leave a Reply