How do I get my submit button to work on my clients Magento site

  • deblecy
    Asked on May 20, 2015 at 7:44 PM

    The Source code has tranferred well but the button won't work - please help!!

  • Charlie
    Replied on May 20, 2015 at 11:48 PM

    It's possible that there's a code conflict between the full source code and your own scripts. Have you tried using other embed codes instead? You can try using the default embed code OR the iFrame embed code.

    See if those work instead. 

  • deblecy
    Replied on May 21, 2015 at 8:38 AM

    Hello There - I got the iframe/default to work - but now I can't get rid of the white background.

    Can you help?

     

    Code: 

    <script type="text/javascript" src="//form.jotformpro.com/jsform/51345771345961"></script>

     

    OR

     

    <iframe id="JotFormIFrame" onDISABLEDload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotformpro.com/form/51345771345961" frameborder="0" style="width:100%; height:974px; 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;case "collapseErrorPage":if (iframe.clientHeight > window.innerHeight) {iframe.style.height = window.innerHeight + "px";}break;case "reloadPage":window.location.reload();break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

  • Charlie
    Replied on May 21, 2015 at 10:03 AM

    Hi,

    You can try adding this custom CSS code in your Form Designer Tool:

    .supernova {

    background: transparent !important;

    }

    How do I get my submit button to work on my clients Magento site Image 1 Screenshot 20

     

    That should fix the white background. Do let us know if that works.

    Thank you.