Overall Word/Character Count from multiple questions | XM Community
Skip to main content
Hello,



I have a survey with 8 questions on the same page and I am asking the participant to write an overall minimum of 300 words.



I have learned how to put a word count for one question, but I would actually like an overall word count that counts all the words in all 8 questions. This way a participant will know if they have reached 300 words for the 8 questions. Is that possible?
You can store the result of the single word count as embedded data and then use math operations to calculate a total, then check that total to see if it's over 300 words.
@BrionyMorgan,



It would be helpful if you shared the code you are using to count the words for one question. The code to count and display the total across all text inputs should be similar. Find all the text inputs and loop through them.

Leave a Reply