How to set scrolling in the form iFrame code?

  • Profile Image
    MarijnMink
    Asked on January 05, 2017 at 04:11 AM

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

  • Profile Image
    Ian
    Answered on January 05, 2017 at 04: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.

  • Profile Image
    MarijnMink
    Answered on January 05, 2017 at 05: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".

  • Profile Image
    Mike_G
    Answered on January 05, 2017 at 05: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.

  • Profile Image
    MarijnMink
    Answered on January 05, 2017 at 05: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>

     

  • Profile Image
    AIDAN
    Answered on January 05, 2017 at 05: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.

  • Profile Image
    MarijnMink
    Answered on January 05, 2017 at 07:12 AM

    That is what I needed, thanks!