Does Javascript Work inside Script Tags on Custom Messages? | XM Community
Skip to main content
Solved

Does Javascript Work inside Script Tags on Custom Messages?


I tried adding some javascript to a script tag in an end of survey message, but it does not seem to work. Is this possible?

Best answer by Anonymous

Hello @willynils , Javascript does work on custom messages. Please view the below images that I have implemented. ! And below is the alert box in the preview mode. ! It will be better if you upload your js code for better understanding of the problem.
View original

2 replies

  • 0 replies
  • Answer
  • August 7, 2018
Hello @willynils , Javascript does work on custom messages. Please view the below images that I have implemented. ! And below is the alert box in the preview mode. ! It will be better if you upload your js code for better understanding of the problem.

PeeyushBansal
Level 6 ●●●●●●
Forum|alt.badge.img+39
  • Level 6 ●●●●●●
  • 1148 replies
  • August 7, 2018
Yes you can use the html tags in your custom error message like below:- ``<div style="text-align:right">This is a right aligned <b>message.</b></div>``

Leave a Reply