• Resolved delawaregrad

    (@delawaregrad)


    I’ve been using Pods recently, rather than hand-coding CPTs and I’m finding it very flexible. I have a client who wants to be able to add a form from a third-party, and the form consists of JS – <script type=”text/javascript”> …. some code … </script>. Is there any field that will accept this? I’ve tried plain paragraph, etc., and the JS tags are stripped. Is this possible?

    thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jim True

    (@jimtrue)

    Did you try the code field? It should handle it just fine. I use that for script embeds all the time.

    Thread Starter delawaregrad

    (@delawaregrad)

    Works great! Didn’t realize my first field type had stripped out the script tags.

    thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JS’ is closed to new replies.