Stop jump to top on next/back page

  • whitemountain99
    Asked on June 24, 2020 at 2:18 PM

    I've got a form embedded with the source code. How can I stop the web page from jumping to the top when the next/back buttons are clicked?

    cheers

    Jeff

  • whitemountain99
    Replied on June 24, 2020 at 2:32 PM

    I tried this 

    <script>

    $(document).ready(function() {   

      JotForm.noJump = true;

    });

    </script>


    from https://www.jotform.com/answers/868131-How-to-prevent-vertical-jumping-on-embeded-form


    but it has no effect. Nor do the other solutions on that page.


  • whitemountain99
    Replied on June 24, 2020 at 2:40 PM

    It is necessary that the form is embedded with the source code.


  • whitemountain99
    Replied on June 24, 2020 at 2:55 PM

    Even without any solution applied, if I inspect the Jotform global variable it shows nojump=true, but it is still jumping to the top.


    1593024897Untitled 1 Screenshot 10

  • Jimmy_D
    Replied on June 24, 2020 at 6:44 PM

    Hi, 

    I tested the embedded form, and I could see that the entire page reloads when you click next. This can be due to some kind of script conflict. 

    I would like to suggest you use the iFrame method instead. 

    Related guide.- Getting-the-Form-iFrame-Code

     Let us know should you need further assistance.