Javascript to replace text with uppercase as respondent is typing? | XM Community
Skip to main content

I copied a survey and used the same javascript that works in the first survey to turn the text to uppercase as a respondent was typing, but in the second survey it is not working. Here is the code I put in the OnReady section of the javascript:

 

    jQuery("#"+this.questionId+" .InputText").on("input", function() { this.value = this.value.toUpperCase(); });

 

I’m wondering if some updates to Qualtrics has changed so that I need to use a different question ID or something like that? 

Be the first to reply!

Leave a Reply