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.
How to have the thank you page jump the viewer back to the top of the page?Asked by Lizlinford on July 21, 2016 at 10:11 AM
I've embedded a jotform on my website. When I hit the "submit" button, I'm at the bottom of the page so when the thank you page appears, all I can see is a blank screen (white) until I scroll up toward the top of the page where I can see the thank you message.
Is there a way to have the thank you page jump the viewer back to the top of the page?
jump top thank how
It looks like that you are using Wix service for your website and the form is embedded using direct URL. Could you try embedding the form using the following iframe embed code and see if that works?
<iframe id="JotFormIFrame" onload="self.parent.scrollTo(0,0)" allowtransparency="true" src="https://form.jotform.com/61944597364166" frameborder="0" style="width:100%; height:539px; border:none;" scrolling="no"> </iframe>
Please get back to us if the issue still persists. We will be happy to assist you further.
Thank you for getting back to me. I embedded the form using the above code and I'm still experiencing the same issue.
Let me know if there is anything else I can try.
It seems that the issue is happening due to the frame in wix builder where we embed the form. The height of the frame is not resetting to the height of the form after submitting the form. When we submit the form using direct link, you can see that the height is adjusted automatically to display the Thank you page.
Since the Wix frame is not resizing automatically, the thank you page is not displaying as required. Unfortunately, it is not possible to resize the wix frame automatically. However, you may consider displaying the form in two pages by using page breaks so that the height of the frame can be reduced.
Let us know if that helps.
I will try that. Thank you!