Why does my html code disappear under certain themes? | XM Community
Skip to main content
Question

Why does my html code disappear under certain themes?

  • March 6, 2019
  • 2 replies
  • 188 views

Forum|alt.badge.img
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

NiC
QPN Level 5 ●●●●●
Forum|alt.badge.img+27
  • QPN Level 5 ●●●●●
  • March 6, 2019
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.

Forum|alt.badge.img
  • Author
  • March 8, 2019
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.