After hitting submit the page jumps to the top instead of to my thank you message

  • DanniWills
    Asked on July 6, 2017 at 7:59 PM

    Hi, I've tried adding "?nojump" into the iframe code as suggested on another thread, but to no avail! When I hit submit, the page jumps to the top and I have to scroll back down to see my thank you message. Any ideas on how to fix this?

  • Chriistian Jotform Support
    Replied on July 6, 2017 at 10:10 PM

    I assume that you are referring to this form(https://www.jotform.com/71791106797264). I cloned it and submitted the form. The Thank you page seems ok on my end.

    After hitting submit the page jumps to the top instead of to my thank you message Image 1 Screenshot 20

     

    If your form is embedded on your website, could you please share with us your site's link so that we can further check the issue? Did you experience this problem on mobile view?

    Please provide us more details and do get back to us.
    Regards.

     

  • DanniWills
    Replied on July 6, 2017 at 11:29 PM

    Thanks so much for your very quick response!

    Here is the link (I'm using Pagecloud): http://studiofitness.pagecloud.com/franchise?nocache=7127f126-0536-4de6-e19a-fdf4367c8d36 I haven't tried mobile view as I am still in the early stages of building the site. 

  • Chriistian Jotform Support
    Replied on July 7, 2017 at 1:27 AM

    I checked the site you have provided (http://studiofitness.pagecloud.com/franchise?nocache=7127f126-0536-4de6-e19a-fdf4367c8d36) and submitted the form (please ignore my submission). I was able to replicate the issue, upon submitting the form, it indeed jumps to the top instead to the Thank you message.

    Could you please try removing first the onDISABLEDload="window.parent.scrollTo(0,0)" on the iFrame embed code and see if this help to solve the issue?

    If not, please also try removing the script part of the iFrame code and embed the iFrame part only. 

    For example:

    After hitting submit the page jumps to the top instead of to my thank you message Image 1 Screenshot 30

     

    Lastly, if the above suggestions don't work, please try other embed methods to see which is the best to solve the problem.

    After hitting submit the page jumps to the top instead of to my thank you message Image 2 Screenshot 41

    If you need further assistance, please let us know.
    Regards.

     

  • DanniWills
    Replied on July 7, 2017 at 4:39 PM

    Thank you that worked perfectly! I removed onDISABLEDload="window.parent.scrollTo(0,0)" and that completely solved the problem! :)