Prevent scrolling to top of page on submit

  • Profile Image
    riversongfc
    Asked on August 05, 2013 at 01:41 PM

    When I click submit on my form in the footer of my site, Firfox 22 and Safari both jump to the top of the page. I'd like to have the page scroll position stay the same so the confirmation message can be easily seen after submission.

     

    The site/form is at riversong.lenfertdesign.com. Please let me know if there is a fix. I tried appending ?nojump to the URL but no luck.

  • Profile Image
    EltonCris
    Answered on August 05, 2013 at 03:28 PM

    Hi,

    Re-embed your form using iframe embed code with ?nojump, this should fixed it.

    Example you can use the following iframe embed code.

    <iframe src="//form.jotform.co/form/32164953065859?nojump" allowtransparency="true" frameborder="0" style="width: 100%; border: none; height: 163px;" scrolling="no"></iframe>

    Thanks!