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

  • Profile Image
    ToliverBancroft
    Asked on March 22, 2016 at 04: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.

  • Profile Image
    Nik_C
    Answered on March 22, 2016 at 05: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" onload="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.

  • Profile Image
    ToliverBancroft
    Answered on March 23, 2016 at 05: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!

  • Profile Image
    Nik_C
    Answered on March 23, 2016 at 05:47 AM

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

    Please let us know if you have any further issues.