https://www.qualtrics.com/community/discussion/comment/31919#Comment_31919I was looking for alternate codes to the one mentioned in this thread, as I need multiple word counts for multiple text entries within the same block. Saw another piece of code that adds a word count under the box of text entry. You also don't need to add anything to the HTML section of the description.Qualtrics.SurveyEngine.addOnload(function() { var q = jQuery("#"+this.questionId); var input = q.find(".InputText"); input.after("Word count: 0"); var display = q.find(".wordCount"); countWords(input.get(0)); input.on("input", function() { countWords(this) }); input.blur(function() { this.value = this.value.trim(); }); function countWords(el) { if(el.value.length > 0) display.text(el.value.match(/\\S+/g).length); else display.text("0"); }}); It's a little late, but perhaps you or some others may still have some use for it.Qualtrics: Count and display the number o
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.