Added script to header to change CSS based on embedded data: not working | XM Community
Skip to main content
Solved

Added script to header to change CSS based on embedded data: not working

  • March 7, 2019
  • 1 reply
  • 45 views

I've added some custom code to my survey header to apply certain CSS if an embedded data field = 1, but it isn't working. Does anyone have any advice? My code is attached in a .txt file.

Best answer by emilym

Hi, Can't figure out how to delete this but I've fixed it: I just needed == instead of =. Hopefully someone else finds my code useful.
View original

1 reply

  • Author
  • 3 replies
  • Answer
  • March 7, 2019
Hi, Can't figure out how to delete this but I've fixed it: I just needed == instead of =. Hopefully someone else finds my code useful.

Leave a Reply