Hi all,
I was using lots of JS in my Marketo forms but after the UI update, I am seeing that all JS in Marketo forms has been disappeared.
I cannot use JS anymore in Marketo forms.
Does anyone has seen the same issue? Any idea?
Solved! Go to Solution.
The Custom CSS section has never supported JS. It inserts a local <style> element, and the inner text of a <script>, even if it includes what looks like a <script> block, will never be executed. It's just broken CSS.
You must've been adding the same JS somewhere else and thought code was running from the CSS box.
What do you mean by "in" Marketo forms? Please explain exactly where you've been attempting to embed code, and supply an example page.
Hi Sanford,
I was using the JS code here and it was working fine earlier. I know this section is for CSS but putting JS code was working fine.
The Custom CSS section has never supported JS. It inserts a local <style> element, and the inner text of a <script>, even if it includes what looks like a <script> block, will never be executed. It's just broken CSS.
You must've been adding the same JS somewhere else and thought code was running from the CSS box.
Hi Sanford,
my bad, it just slipped from my mind. Maybe some type of hangover 😄
I used it under rich text in form. Thank you for reminding me!