Jumps to top of page when form submitted?

  • Profile Image
    krhill
    Asked on January 18, 2017 at 10:42 AM

    Dear Jotform,

     

    I am not sure if this is due to your platform or not. But when a user enters the form the website takes them back to the top of the page. Is there a way to stop this?

  • Profile Image
    liyam
    Answered on January 18, 2017 at 11:59 AM

    Hello krhill,

    With your embed code, you can add the parameter ?nojump at the end of the URL source to prevent jumping to the top of the form.

    Example:

    <script src="https://www.jotform.com/jsform/1234567890?nojump"></script>

    If you are using an iframe, you can try adding the same on the iframe source:

    Example:

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

    It would also be great if you can share with us the link to your page to be able to verify if the suggestion would work.

    If you have other questions or concerns, please let us know.

    Thanks.