Height attibute suddenly appear in the form embed codes even if we used the embed method

  • Profile Image
    aquaclic
    Asked on April 23, 2015 at 01:04 PM

    c) and here's an old problem we never figured out: we use the <> embed code to embed the form and it's fine But as soon as we modify the html-code where the form sits, it adds a height 

    height: 805px;

    and no matter how often we remove it, it is right back there.

  • Profile Image
    Welvin
    Answered on April 23, 2015 at 01:17 PM

    Hi,

    Can you take a screenshot of this and post it here? In the embed codes method, the height is not present in the codes. If you are viewing it using the developers console (F12), you'll see that an iFrame is under the script. For example, from this page: http://aquaclic.info/publique_details.php?sl=DE

    This is how you will see it when you open the developers console:



    But there's no way you can edit it because the iframe was inside the script of the form. You can only edit the height if you embed the form using our iFrame method.

    https://www.jotform.com/help/148-Getting-the-Form-iFrame-Code 

    Thanks

  • Profile Image
    Welvin
    Answered on April 23, 2015 at 01:20 PM

    Okay, I just found out after viewing the page source, you have a few codes (iframe attributes) in the page which is part of the form.

    In this page, for example: http://aquaclic.info/publique_details.php?sl=DE

    Please remove these codes from the page to avoid some problems, especially the form height.

    Thanks