How to prevent jumping to top of page on submit

  • randygolf
    Asked on January 22, 2016 at 4:54 PM

    2nd, when I hit submit, the form jumps up to the top of the page and you can’t tell its been sent unless you scroll back down. Any way to keep the form from doing that?
    Thanks,
    Randy
  • BJoanna
    Replied on January 22, 2016 at 5:18 PM

    Please try to add ?nojump at the and of form URL of your script code.

    <script type="text/javascript" src="//www.jotform.com/jsform/60214986396162?nojump"></script>

    If that dose not help, try to re-embed your form with iFrame code and and ?nojump at the end of form URL. 

    Example:

        <iframe

          id="JotFormIFrame"

          onDISABLEDload="window.parent.scrollTo(0,0)"

          allowtransparency="true"

          src="https://form.jotform.com/60216150630946?nojump"

          frameborder="0"

          style="width:100%;

          height:539px;

          border:none;"

          scrolling="no">

        </iframe>

    Inside of this guide you can find out how to get iFrame code of your form: 

    http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code 

    Hope this will help. Let us know if you need further assistance.