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

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

  • Mar 7, 2019 10:52 PM UTC
  • 1 reply
  • 60 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
  • Answer
  • Mar 7, 2019 10:54 PM UTC
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.