Why does my html code disappear under certain themes? | XM Community
Question

Why does my html code disappear under certain themes?

  • 6 March 2019
  • 2 replies
  • 48 views

Badge
I prepared a question using html and javascript, but unless I use the default theme, the radio buttons that I created in html disappear.
Is this normal? Is there a way around it?

2 replies

Userlevel 7
Badge +27
Hi @Mauricio as for the HTML tag disappearing is not normal , but content in` <script> </script>` tag does disappear when added inside a question's HTML code. So it is always preferable to write the JS code in the add JavaScript code via the Question options.
Badge
Hi @Nic, thanks for your reply. What is disappearing is part of the html code. Specifically, the radio buttons disappear, leaving on the text there.
In any case, I found a style that doesn't remove the buttons, so it is OK. Thanks.

Leave a Reply