What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Go to top when hitting next page buttonAsked by lexmoore on March 30, 2014 at 11:52 PM
I have my form broken into segments by page breaks. However, when I hit "Next", it loads the next section of questions, but the webpage that it is on is scrolled to the bottom of the screen.
Page is here: http://www.motodiscovery.com/Custom-Motorcycle-Tour
The same issue ocurrs when you hit "submit" at the end of the questionnaire, the thank you page has scrolled to the bottom.
I would like help in having the pages load and the "top" of the form be shown, instead of having to scroll up to begin the next section.
Form Page next scroll www section
What embedding method did you use? I did some tests with the iframe embedding method and the form/page remained still:
Let us know if the problem persists.
I used the "embed" code and pasted it into website. I tried putting in Iframe, but same result. Page auto scrolls to bottom (after you hit "next") http://www.motodiscovery.com/Custom-Motorcycle-Tour
I would suggest you to use your form's using iFrame embed code to embed your form in your web page. Please ensure that you just use the iFrame code and exclude the script code and see if that solves your problem.
Please use the following iFrame embed code :
<iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://secure.jotformpro.com/form/40845792649974" frameborder="0" style="width:100%; height:1839px; border:none;" scrolling="no"></iframe>
Do get back to us if the issue persists.
Same result as before, using the Iframe code you sent. But now I get a bunch of gray space below the "next" button. Scrolling still not correct.
To resolve the behaviour of the form jumping to the top of the page everytime the Next or Back button is clicked, you must use the Embed Code of the form:
Then, make sure to add ?nojump to the form URL right after the string of numbers, like in this example:
Then, embed it to your webpage, that should resolve the issue. Please inform us if you need further assistance with this inquiry.