How can I stop it from automatically going down to the top of the form when using page breaks?

  • ToliverBancroft
    Asked on March 22, 2016 at 4:42 PM

    I created a small box form on my website. When a user hits next, it pulls the page down to the top of the form, and the top of website is no longer visibile. This is very frustrating and catches a user off guard.

  • Nik_C
    Replied on March 22, 2016 at 5:01 PM

    You can try adding the ?nojump  to the form  URL in scripts for embedding.

    If you are embedding your form as an iFrame:

    <iframe id="JotFormIFrame" onDISABLEDload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotformpro.com/form/60815257084154?nojump" frameborder="0" style="width:100%; height:738px; border:none;" scrolling="no"></iframe>

    And if you are embedding your form as a script you need to add the ?nojump at the end of your form's URL:

    <script type="text/javascript" src="//form.jotformpro.com/jsform/60815257084154?nojump"></script>

    I haven't been able to access your form on the website since you haven't provided the URL to your form. If this does not solve your problem, please provide the URL to your website so we can perform tests and provide you with a solution.

  • ToliverBancroft
    Replied on March 23, 2016 at 5:27 AM

    Thank you, but I fixed it by using the source code instead. The iFrame did not work, but the source code did. Thanks!

  • Nik_C
    Replied on March 23, 2016 at 5:47 AM

    I'm glad that you were able to fix your problem!

    Please let us know if you have any further issues.