Submit button is not showing

  • Profile Image
    jessica 
    Asked on January 27, 2014 at 10:35 AM

    I am trying to add a custom form to a cargo collective page (via iframe method) and the submit button keeps disappearing after I insert the iframe. How can I fix this?

  • Profile Image
    jedcadorna
    Answered on January 27, 2014 at 11:11 AM

    Hi,

    Thank you for contacting us. I have checked your website but I don't see any Jotform embedded to it can you provide us the correct URL? You can also try removing the <script> tag in your iframe code then adjust the height. 

    Here's a sample:

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

    The one highlighted in red is the height please try to adjust that.