Is there JS to move labels in a form question above text entry boxes?

AmieLinAmieLin ChicagoCommunity Member, XM Advocate Qubie ✭
edited December 2020 in Custom Code

Is there JS to move labels in a form question above text entry boxes?

Wondering if there's script to move labels on the left of a form text entry question to above text boxes?


Answers

  • AHammellAHammell MinneapolisCommunity Member Qubie ✭
    edited December 2020

    A "quick and dirty" way of doing it is by adding the following to the "HTML View" of your form question.

    <style>
    td {
      display: table-row;
    }
    </style>
    

    However, it is "quick and dirty", as it will affect ALL of the questions that rely on HTML tables on the given survey page that your form question is on. Here's an example of what I get:

    Does this work for your purposes, or do you need something more specific?

Sign In to Comment