When using the force function to require a response, how can I change the default error message? | XM Community
Solved

When using the force function to require a response, how can I change the default error message?

  • 27 November 2019
  • 3 replies
  • 11 views

When using the force function to require a response, how can I change the default error message from "please answer the question" to a custom option (such as "please select a response for each option")?
icon

Best answer by Igee 27 November 2019, 17:15

View original

3 replies

Userlevel 2
Badge +1
hi @stevecalla - Unfortunately, I do no believe you can change the default error message for the Force Response option, however, you can use a Custom Validation to have your conditions set and then use a custom error message.
Userlevel 7
Badge +27
You can change default error messages dynamically with JS. Have the JS look to see if there is a visible error message, and if there is check its content. Then replace the content as appropriate.
Hey Tom G - I understand exactly what you are saying but I'm not fluent in JS. Can you offer example code? Thanks, Steve @TomG

Leave a Reply