iframe cortando meu formulário

  • Profile Image
    victorfpaula
    Asked on August 17, 2015 at 06:18 PM

    Boa noite!

    Tenho um formulário grande, que está dentro iframe em meu site....

    O problema é que meu formulário esta aparecendo cortado todas as vezes que é aberto.

    Fica impossível de avançar algumas páginas e até preencher alguns dados fundamentais.

    O código que estou usando é este:

    <iframe id="JotFormIFrame" " allowtransparency="true" src="//form.jotformz.com/form/52185030792655" frameborder="0" style="width:100%; height:30076px; 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>

     

    Meu site é o www.fastburg.com.br - o formuário aparece em uma barra preta no topo da página.

    Meu formulário é o - http://form.jotformz.com/form/52185030792655

  • Profile Image
    victorfpaula
    Answered on August 18, 2015 at 12:46 AM

    help!

  • Profile Image
    EltonCris
    Answered on August 18, 2015 at 12:59 AM

    Have you tried using script embed code so far? If it's causing problems with your web plugins then it's better to say with iframe embed code. If not, I would recommend script embed code since it has dynamic height so it should not create cut off issues.

    I check the form on your page and it says not found. Did you change the form just now?

    If iframe cuts off on your page, try adjusting the iframe height found on the iframe embed code. That might somehow help.

    Example:

    <iframe id="JotFormIFrame" " allowtransparency="true" src="//form.jotformz.com/form/52185030792655" frameborder="0" style="width:100%; height:30096px; border:none;" scrolling="no"></iframe>

    Let us know if none of these works. Thanks!

  • Profile Image
    victorfpaula
    Answered on September 11, 2015 at 02:25 PM

    ainda não consegui resolver o problema....

    meu iframe aparece cortado na maioria das vezes, impedindo que o formulário seja preenchido!

    Existe alguma forma de corrigir isso?
    Ou talvez, usar o LightBox (jotform), de forma semelhante?

     

    Obrigado pela atenção!

    Meu formulário é o http://www.jotformz.com/form/52435540437655

  • Profile Image
    Welvin
    Answered on September 11, 2015 at 09:59 PM

    The form is currently set not to accept orders. Anyways, please try using the following custom CSS codes:

    <iframe id="JotFormIFrame" " allowtransparency="true" src="//form.jotformz.com/form/52185030792655" frameborder="0" style="width:100%; height:30096px; border:none;" scrolling="no"></iframe>

    This is the same codes that were given by my colleague, but without the script part. If you have the script part in your website, remove that and see if that helps.

    Thanks