I'm trying to link a form to an Ebay listing but I'm getting the follow

  • Profile Image
    brannylove
    Asked on April 10, 2014 at 02:26 PM

    I'm trying to link a form to an Ebay listing but I'm getting the following error message: Your listing cannot contain javascript (".cookie", "cookie(", "replace(", IFRAME, META, or includes), cookies or base href.

    Is there a workaround for this?



    This is a re-post of a comment on Which Form Embed Code Should I Use?

  • Profile Image
    Welvin
    Answered on April 10, 2014 at 02:53 PM

    Hi,

    Please try using our iFrame Method: Getting the Form iFrame Code but without the script tags on it. On this codes for example:

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotformpro.com/form/40995281335965" frameborder="0" style="width:100%; height:728px; 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>


    Remove the codes highlighted with yellow. Let us know if that works.

    Thanks