Minimum Character Count Response | XM Community
Skip to main content
Solved

Minimum Character Count Response

  • January 8, 2020
  • 1 reply
  • 378 views

Forum|alt.badge.img+2
I have set a minimum character count of a text entry to 15 characters. When the response entered is less than 15 characters the systems prompts "Your response must be at least 15 characters." Is there any way to change this response? I don't want students to know what the minimum character count is. I would prefer the message to be more generic such as "This explanation is too short to fully explain the text. Please add more detail."

Best answer by rondev

Try this code: `jQuery("#"+this.questionId+" .ValidationError").text("This explanation is too short to fully explain the text. Please add more detail.");`

1 reply

rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • 1450 replies
  • Answer
  • January 9, 2020
Try this code: `jQuery("#"+this.questionId+" .ValidationError").text("This explanation is too short to fully explain the text. Please add more detail.");`