How to disable auto scroll to top of a page after sending a letter using form?

  • kuzovnoj_remont23
    Asked on July 7, 2017 at 3:41 AM

    Every time I use JotForm on my page it automatically scrolls the page to top after sending a letter. How to disable it?

    You can try to send something to see what I mean. Just copy this string to your browser: xn---23-eddqjpfxgefce1a0be.xn--p1ai

  • John_Benson
    Replied on July 7, 2017 at 5:02 AM

    Are you referring to this form? http://www.jotformeu.com/form/71013619307348

    If yes, I did a test submission to your form but I was not able to replicate the issue. I have successfully submitted and there's no auto scroll to the top of the page. 

    May I ask if the form is embedded in a Website? If yes, please provide the URL so we can check it further. 

    We'll wait for your response. 

  • kuzovnoj_remont23
    Replied on July 7, 2017 at 6:10 AM

    Yes, exactly this form. And what can I say. I didn't tell you that scroll to top issue is noticed in FireFox browser. I tried Chrome and as you told there is no scroll to top issue in this browser. But what about FireFox?

  • liyam
    Replied on July 7, 2017 at 12:26 PM

    Can you try inserting the nojump parameter in your javascript embed code? Example: 

    <script type="text/javascript" src="https://form.jotformeu.com/jsform/71013619307348?nojump"></script>

    If this does not work, please let us know.

    Thanks.
  • kuzovnoj_remont23
    Replied on July 7, 2017 at 12:38 PM

    Please, tell me where exactly do I have to paste this part of the code?

  • John_Benson
    Replied on July 7, 2017 at 2:03 PM

    Please re-embed the code that my colleague Liyam has provided to your website. Remove the old embedded code to your website and replace it with the provided code. Here's the code again:

    <script type="text/javascript" src="https://form.jotformeu.com/jsform/71013619307348?nojump"></script>

    Related guide: https://www.jotform.com/help/34-Adding-a-Form-to-a-Web-Page

    Please contact us again if you have questions.

  • kuzovnoj_remont23
    Replied on July 7, 2017 at 5:40 PM

    Yeah, it helped! Thanks a lot!