How do I add a vertical line separating the Don't know response from the other responses to my Likert-style question in my Qualtrics online survey? | XM Community
Skip to main content

I am trying to add a vertical line to separate the “Don’t know” response from the other responses to my Likert-style question. This “Don’t know” response is the rightmost response option, so I will need to add a vertical line to the left. I have tried the code provided in the existing XM community posts on this topic, including adding Custom CSS to the Look & Feel settings, editing the specific question’s HTML, and editing the question’s JavaScript. Nothing I have tried is working. I would appreciate any help on this issue beyond referring me to another thread---believe me, I’ve read them all. Thanks in advance!

You can use html like

 

<div class="QuestionBody">
    <div class="ChoiceStructure dontknow">
        <input type="radio" name="QID1" value="1">
        <span>Strongly Disagree</span>
    </div>
    <div class="ChoiceStructure">
        <input type="radio" name="QID1" value="2">
        <span>Disagree</span>
    </div>
    <div class="ChoiceStructure">
        <input type="radio" name="QID1" value="3">
        <span>Neutral</span>
    </div>
    <div class="ChoiceStructure">
        <input type="radio" name="QID1" value="4">
        <span>Agree</span>
    </div>
    <div class="ChoiceStructure dontknow">
        <input type="radio" name="QID1" value="5">
        <span>Don't know</span>
    </div>
</div>
 

 


@politicalcyclist Probably the codes are not working because you are using a different theme/layout. It would help if you could share the preview link of your survey.


Leave a Reply