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

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

  • Jul 16, 2024 12:38 PM UTC
  • 2 replies
  • 63 views

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

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.

View original

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • Jul 16, 2024 1:52 PM UTC

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


Forum|alt.badge.img+2
  • Author
  • Level 3 ●●●
  • Jul 16, 2024 5:16 PM UTC

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