Does Javascript Work inside Script Tags on Custom Messages? | XM Community
Skip to main content
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?
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.
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