Don't work Javascript for forcing text response to lowercase for API | XM Community
Skip to main content
Solved

Don't work Javascript for forcing text response to lowercase for API

  • July 16, 2024
  • 2 replies
  • 38 views

Forum|alt.badge.img+2
  • Level 3 ●●●
  • 63 replies

Hello to all

Can you help me with this...
I added the code in the javascript in one of the questions in my survey, to force the use of lowercase in a text input. It works for the Preview of the survey, but as we send the survey by api, it does not work....

Does anyone know what is the reason?

Thanks

Best answer by TomG

Perhaps you didn’t publish the survey after adding the JS.

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6084 replies
  • Answer
  • July 16, 2024

Perhaps you didn’t publish the survey after adding the JS.


Forum|alt.badge.img+2
  • Author
  • Level 3 ●●●
  • 63 replies
  • July 16, 2024

@TomG Thank you! so simple that I forgot to post ... a clumsiness of mine!
Thanks again