How to move above the question | XM Community
Skip to main content

Hello Community,
I'm trying to work with checkbox and radio button however the checkbox question and radio button are in two different questions, but they are related to one other
Here's the picture in the builder,
image.pngBecause they are in 2 different questions therefore in the preview, they are apart from each together. The question is how I can make them close to one other or make the radio button question move at the top
Here's the preview looks like
image.png

ricsdpl
You can do it by adding the below code in appropriate places:
Add the below code in a single select 1st Question:
Qualtrics.SurveyEngine.addOnload(function()
{
/*Place your JavaScript here to run when the page loads*/
jQuery("#"+this.questionId+".QuestionOuter").css("padding-bottom","0px");
});
Add the below code in Custom CSS in Look and Feel and change the QID for multiple choice Question
.Skin .QuestionBody {
    padding: 0px;
}
@media (min-width: 770px){
.Skin .QuestionBody {
padding-bottom: 0px!important;
}
@media (max-width: 770px){
.Skin .QuestionBody {
padding-bottom: 0px!important;
}
/* Change QID for multiple choice question*/
#QID9 .QuestionText {
    display: none;
    padding: 0px;
}
Preview:
image.pngHope it helps!


Thank you so much Deepak for creating these amazing custom solutions for our community 🙂


Thank you Deepak!


Leave a Reply