How to set scrolling in the form iFrame code?

  • MarijnMink
    Asked on January 5, 2017 at 4:11 AM

    Can I put the scrolling to "yes" on the iframe?

  • Ian
    Replied on January 5, 2017 at 4:39 AM

    In general The syntax is <iframe scrolling="auto|yes|no">

    auto Scrollbars appear if needed (this is default)

    yes Scrollbars are always shown (even if they are not needed)

    no Scrollbars are never shown (even if they are needed)

    You can also refer to the page for examples

    If you still face the issue then please share the url of the page where the iframe code is integrated.

    Hope this helps.

  • MarijnMink
    Replied on January 5, 2017 at 5:06 AM

    Yes, I understand that.

    But what I would like to know is, how do I change this value in the html?

    Now the iframe is loaded in my website, but the scrolling is set to "no" and I want to change this to "yes".

  • Mike_G JotForm Support
    Replied on January 5, 2017 at 5:26 AM

    You need to edit it from your website's code.

    Or if you want, you can also try to copy the iframe code of your form. Paste it in a notepad (or any text editor) and edit the value of the scrolling attribute of your iframe code to "yes". Then, re-embed the edited iframe code to your website.

  • MarijnMink
    Replied on January 5, 2017 at 5:40 AM

    The problem is that the iframe code doesn't come from my website.

    The form and iframe is build up by a script on jotform:

    <script type="text/javascript" src="https://form.jotformeu.com/jsform/70011838741350"></script>

     

  • AIDAN
    Replied on January 5, 2017 at 5:51 AM

    Hi, please note that we do have the option to publish your form using an iFrame code. That would allow you to customize it however you see fit.

    We have a detailed tutorial on how to get the iFrame code of your form here: https://www.jotform.com/help/148-Getting-the-form-iFrame-code

    If you need further assistance please let us know. We will be happy to help. Thank you.

  • MarijnMink
    Replied on January 5, 2017 at 7:12 AM

    That is what I needed, thanks!