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

Why does my html code disappear under certain themes?

  • Mar 6, 2019 8:00 AM UTC
  • 2 replies
  • 217 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+28
  • QPN Level 5 ●●●●●
  • Mar 6, 2019 10:17 AM UTC
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
  • Mar 8, 2019 2:55 AM UTC
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.