How do you remove the borders in a side-by-side question? | XM Community
Skip to main content

Hello!
I would like to remove the borders in a side-by-side format question, so that it is clear to participants that they should enter a number in the text box and also select a time scale for recurring meetings.
image.pngIf anyone could also provide any suggestions on how to remove the header space that is unneded and how to decrease the space between the columns, it would be greatly appreciated! (:

Qualtrics.SurveyEngine.addOnReady(function () {
    let qc = this.questionContainer;
    qc.querySelectorAll("Sclass*=Separator]").forEach((item) => item.hide());
    qc.querySelectorAll("th").forEach((item) => (item.style.borderColor = "Transparent"));
    qc.querySelectorAll("td").forEach((item) => (item.style.borderColor = "Transparent"));
});


That did it, thank you ahmedA!!


Leave a Reply