Formatting Form Questions | XM Community
Skip to main content

Hello!
Is there a way to format the form choice text?

  • Increase padding between choice

  • Increase choice container width

Thanks!

Use the below code:
//Increase padding between choice
jQuery(".ChoiceStructure table").attr("cellspacing","30");

//Increase choice container width. This will give 50% width to choice text and another 50% to input text box
jQuery(".ChoiceStructure table td").not(".ControlContainer").css("width","50%");


Amazing thank you!
https://www.qualtrics.com/community/discussion/comment/26030#Comment_26030Two follow up questions:

  • Is there a way to remove the little gap between the edge of the question and the question text?

  • Is there a way to increase the height of the row (padding within the row, not just between the rows)?

Many thanks!


Is there a way to increase the height of the row (padding within the row, not just between the rows)? -> try the below code
jQuery(".ChoiceStructure table td").not(".ControlContainer").css("line-height", "1.5em");


Leave a Reply