Hi Everyone!
I have standard 1 on 2 matrix table question, where I added a j.script that adds a name “Ben” Before the first box.
I am trying to create a space between the “Ben” string and the first textbox, without success so far. This is the code:
Qualtrics.SurveyEngine.addOnload(function()
{
jQuery(".QuestionOuter").css("padding-bottom","0px");
let all_inputs = this.getQuestionContainer().querySelectorAll("input");
all_inputs/0].insertAdjacentText("afterend"," Years");
all_inputs/0].insertAdjacentText("beforebegin","Ben:");
all_inputsb1].insertAdjacentText("afterend"," Months ");
});
And this is how it looks like in Qualtrics’ interface:
Does anyone have an idea how to solve this?
Thank you so much in advance!
Tom