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.
The page now jumps to the form location half way down the page each time the page is loadedAsked by severn on April 28, 2015 at 05:57 PM
I have a form which is part way down a page and when the form is submitted i need it to show the thankyou message instead of jumping to the top of the page. So i have edited the onload text in the embed code to the correct position on the page where the form is located and this is working fine.
However the page now jumps to the form location half way down the page each time the page is loaded, even without the form being submitted. So if a user just goes to the menu and clicks for the page it loads up half way down. Same if you refresh the page.
i only want this to happen after the form is submitted but its affecting the page load the whole time. Can you tell me how to change the code for that? Thanks.
Could you please share the URL of the webpage where your jotform is embedded? Meanwhile, I would suggest you to embed your form's iFrame code.
1) Get your iFrame code: http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code
2) Paste it in a text editor and make sure to copy and paste only the iframe part in your webpage, also add the nojump attribute, example:
I have found a solution to the problem. The code used should be onSubmit not onload