Community Groups are officially here!
We've released Groups, a new feature that enables us to connect community members of similar industries and interests in a shared, private space. You can check out all of the details here, including information about who can join, how to join, and what Groups are currently offered. Please leave your feedback through this Community Groups Feedback Survey.

Jscript to format form boxes

kathyopferman
kathyopferman West Virginia, United StatesCommunity Member, Qualtrics Brand Admin Qubie ✭
edited August 2 in Custom Code

Does anyone know the Jscript needed to move the form essay boxes to be below the form label?

Best Answers

  • ChiragK
    ChiragK GUJARATCommunity Member Guru ✭✭
    Accepted Answer

    Hello, Try adding this JS code in form field question.

    Qualtrics.SurveyEngine.addOnReady(function () {
        var $this = jQuery(this.questionContainer);
        jQuery(".QuestionBody td.ControlContainer", $this).css({"float": "left", "width": "100%"}).closest("tr").css({"display": "block", "margin-top": "15px"});
    });