Preventing website from scrolling to bottom of page on "next" in multiple page forms

  • nikifox
    Asked on September 8, 2017 at 2:30 AM

    I am using Jotform, embedded in Wix with a multi-page form. When I click to advance to the next page, it automatically scrolls to the bottom of the web page, effectively hiding the form altogether. How can I prevent this, or force it to scroll to the top of the next page?

     

    Example:

     

    https://www.freedomstarfinancial.com/short-form-application

     

    Thanks!

  • Mike_G JotForm Support
    Replied on September 8, 2017 at 5:21 AM

    I would like to apologize for any inconvenience this is causing you. I have tried filling up the form on the website you shared and I was able to see what you mean. Have you tried embedding your form to you Wix website following this guide — Adding-a-Form-to-Your-Wix-Site?

    If I'm understanding it correctly, it seems that you have embedded your form on another webpage using the form's iframe embed code — Getting-the-Form-iFrame-Code. Then, you embedded that web page to your main Wix website. If that is the case, can you also try removing the script part of the iframe embed code and see if that would make any difference?

    We will wait for your response.

  • nikifox
    Replied on September 8, 2017 at 9:43 AM
    I followed the steps both ways...via the link and the i-frame code with
    script removed. Both solutions did improve the CSS conflicts. However, the
    scrolling still exists. How do we keep it from auto-scrolling to the end of
    the form?
    ...
  • Mike_G JotForm Support
    Replied on September 8, 2017 at 11:16 AM

    Can you please try adding "?nojump" in the URL parameter and see if it works?

    Example: 

    <script type="text/javascript" src="https://form.jotform.us/jsform/61631834301144?nojump"></script>

  • nikifox
    Replied on September 8, 2017 at 12:43 PM
    That fixed the problem! Thank you very much!!!
    ...