Running <script? tags in HTML block
-
I would like to run <Script> and add Js functions that bring “Now Playing” info from online and add it to an input (via an HTML field). (I know it sounds risky)
I can get this info to display in an HTML element but I would like to let an HTML Button be pressed and add that data in the element.TextContent to an input.
Forminator (understandably) strips the ‘onclick’ bit of the button tag.
I guess I would also then need edit function/child theme or use Code Snippets etc to add the functions?
I was testing another forms plugin and it did not seem to find <Script> tags in HTML. But I can understand this might be a security issue. OR maybe someelse I don’t understand.Maybe there is a better way to do it. A more secure one or something but how would I be able to call functions on the Forminator like this? Or do it with built in functionality?
Forminator feels great.
Thanks in advance.
- The topic ‘Running <script? tags in HTML block’ is closed to new replies.