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.


  • Profile Image

    Scroll to top after Submit not working on Wordpress site

    Asked by jacobs_waterflow on October 08, 2015 at 01:06 PM

    Hi Jotform, some of this has already been answered, however there is still some confusion. Please use the URL below to reproduce the issue. The Jotform is embedded with the following code:

    <iframe id="JotFormIFrame" style="width: 100%; height: 2189px; border: none;" src="//form.jotformeu.com/form/52801691259358" frameborder="0" scrolling="no"></iframe>

     

    1) After pressing submit, the jotform in the iframe does not scroll to the top to show the thank you.

    Currently my wordpress theme removes the onload="window.parent.scrollTo(0,0)" attribute, so this is why. My question though is, which one should be used:

    a) onload="window.parent.scrollTo(0,0)"

    b) onload="window.parent.scrollTo(0,0)"

     

    2) The above embed code has been generated by your app. It works fine on Chrome on Desktop. However on my Android, the bottom is cut off and so I've had people fill out entire forms and at the end the submit button was not there. I can solve it by just increasing the height. Is this a known issue?

     

    3) I would like to have a different 'Thank You' Message after submitting. Where do I configure this?

     

    Thank you for your patience and help with this,

     

    P. Jacobs

    Page URL:
    http://waterflow.peterjacobs.ch/jotformtest/

    Mobile scroll to top scroll Scroll to top WP Wordpress
  • Profile Image

    Answered by Carina on October 08, 2015 at 03:26 PM

    Maybe you can create a custom thank you page and then on that custom page you can add an anchor.

    <a name="anchor"></a>

    Please position the anchor on the top of the page. The custom thank you page url will look something like:

    http://www.mywebsite.com/customthankyoupage.html#anchor

    How to change the thank you link:

    Let us know if the problem persists.

    I moved the other questions to new threads so they can be individually addressed by our team:

    http://www.jotform.com/answers/678989 

    http://www.jotform.com/answers/678973 

     

  • Profile Image

    Answered by jacobs_waterflow on October 09, 2015 at 03:46 AM

    Hello Carina, thank you for your answer and a great idea!

    I was now able to embed the complete code and as a consequence it works! Problem solved.

     

  • Profile Image
    JotForm Support

    Answered by beril on October 09, 2015 at 10:46 AM

    Hi,

    On behalf of my colleague, you are welcome.

    I am happy to hear that the problem was solved.

    If you have any question or issues, please do not hesitate contacting us. We will be glad to assist you.