Embed form script on website without script tags

Anonymous
Not applicable

Embed form script on website without script tags

Does anyone know how to write script without including the <script> tags?

Our CMS, Sitefinity, won't allow the script tags to be included in the code:

Tips

Do not add <script> tag, it will be added automatically. Start writing your JavaScript directly.

Example:
var str = "Hello World!";


Here's the script I'd like to add to the website:

<script src="//app-ab03.marketo.com/js/forms2/js/forms2.js"></script>
<form id="mktoForm_1010"></form>
<script>MktoForms2.loadForm("//app-ab03.marketo.com", "850-JUB-810", 1010);</script>

Does anyone know how to write the above script without the <script> tag?

Thanks!
Tags (1)
2 REPLIES 2
Geoff_Krajeski1
Level 10 - Champion Alumni

Re: Embed form script on website without script tags

We have adapted our Sitecore CMS platform to include an open text (plain HTML printout) field.

We also created a specific Javascript field area on some templates that is also open HTML where we can include <script> and/or <style> if desired
Anonymous
Not applicable

Re: Embed form script on website without script tags