How do I create two columns to have short questions next to each other for a survey form? | XM Community
Skip to main content
Question

How do I create two columns to have short questions next to each other for a survey form?

  • May 19, 2023
  • 3 replies
  • 542 views

Forum|alt.badge.img+2
  • Level 1 ●
  • 1 reply

Demographic information question and answers are usually short (Name, Age). I would like to put like two of the questions next to each other instead of one occupying an entire row/line. 

Thanks in advance. 

3 replies

Shashi
Level 8 ●●●●●●●●
Forum|alt.badge.img+34
  • Level 8 ●●●●●●●●
  • 654 replies
  • May 19, 2023

We can use SBS or Matrix text entry question for this.


praveengeorgeix
QPN Level 4 ●●●●
Forum|alt.badge.img+11
  • QPN Level 4 ●●●●
  • 99 replies
  • May 19, 2023

The solution is already shown by @Tom_1842 

 


ArunDubey
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+41
  • QPN Level 8 ●●●●●●●●
  • 589 replies
  • May 19, 2023

You can use either side by side setup or you can create it using multiple choice questions.

 

Just replace question on below code. Make sure to use each question’s section tag (html tag mentioned in below screenshot) ID.

 

Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
jQuery("#question-QID1").css({"width": "200px !important", "float":"left"});
jQuery("#question-QID2").css({"width": "200px !important", "float":"left"});
});