Last active
October 23, 2022 16:57
Qualtrics: Change Text Input Field to Read Only. This script changes a text input field to read only (a side-by-side question in this example). This could be used if you want to display a default value in a field, but don’t want it to be changed. #qualtrics #js #jq #text #readonly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Qualtrics.SurveyEngine.addOnload(function() { | |
var qid = this.questionId; | |
jQuery(('#QR~'+qid+'#1~1~1~TEXT').replace(/~/g, "\\~")).attr("readonly", "readonly"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See additional Qualtrics solutions at: https://qualtricswiki.tgibbons.com/doku.php