Behance does not want form to use any tags

  • Profile Image
    dejeru
    Asked on January 14, 2013 at 08:56 AM

    I'd like to put my form into my Behance profile.  Behance wants me to embed the form using <iframes>.  However, it seems like jotform still incorporates <script> tags with their code.  

     

    How do I embed my form without using any <script> tags?  

  • Profile Image
    pinoytech
    Answered on January 14, 2013 at 09:37 AM

    Hi dejeru,

    Just simply paste your iFrame code into your website without including <script> tags.

    So, from:

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//www.jotformpro.com/form/xxxxxxxxxxxxx" frameborder="0" style="width:100%; height:457px; border:none;" scrolling="no"></iframe>

    <script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

    To:

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//www.jotformpro.com/form/xxxxxxxxxxxxxx" frameborder="0" style="width:100%; height:457px; border:none;" scrolling="no"></iframe>

    Hope you find this helpful.

    If you need further assistance, do let us know.

    Thank you!