I have a multiple choice question after another question that I want to indent slightly.
Trying to achieve something that looks like this:
Question 1
(Indent) Question 2 (2-columned)
(Indent) - choice 1
(Indent) - choice 2...
I was thinking JS for the question rather than CSS since, CSS would change all the margins for that question type.
Solved
Javascript to move the margin of a question
Best answer by tchen
In case anyone is looking. 45 is what you want to change to get the indent you want. Works for column MC questions too.
Qualtrics.SurveyEngine.addOnload(function()
{
jQuery("#"+this.questionId).find('.QuestionBody:first').css("margin-left", "45px");
});
View originalQualtrics.SurveyEngine.addOnload(function()
{
jQuery("#"+this.questionId).find('.QuestionBody:first').css("margin-left", "45px");
});
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.