JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
BRING PAGE TO TOP AFTER SUBMITAsked by riatech on November 19, 2011 at 01:04 PM
I have a long form to fill in. so, after fill up and click submit button. its now on bottom of page.
user only see blank / white page , because the stay at bottom.
What can i do to bring the page to top after the user hit submit button. So they can see my thank you straight away,
rather than they have to scroll up to see the message.
Please try to add this code inside your iframe code:
So your iframe code should look like this:
<iframe onload="self.scrollTo(0,0)" allowtransparency="true" src="//form.jotform.com/form/12985150393" frameborder="0" style="width:100%; height:1720px; border:none;" scrolling="no">
Let us know if this helps or not, so that we can further assist you. Thank you so much for patiently waiting and have a great day!
This works great for my forms. :-)
Thank you for the answer!
@udruga Thats nice to hear, Feel free to contact Jotform support if you encounter any problems in the future or if you have questions.
Your question has been moved into a separate thread.
We will get back to you quickly.