What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    iframe cortando meu formulário

    Asked by victorfpaula 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

    Page URL:
    http://form.jotformz.com/form/52185030792655

    Screenshot
    style height message site
  • Profile Image

    Answered by victorfpaula on August 18, 2015 at 12:46 AM

    help!

  • Profile Image
    JotForm Support

    Answered by EltonCris 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

    Answered by victorfpaula 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
    JotForm Support

    Answered by Welvin 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