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

    Perhaps it's me or my comp, I see the code as onload="scrolltotop()"But

    Asked by paradigmplumbing on May 22, 2012 at 09:06 PM

    Perhaps it's me or my comp, I see the code as onload="scrolltotop()"

    But I don't see the sample of how the code is supposed to look as it is embedded??



    This is a re-post of a comment on

  • Profile Image

    Answered by pinoytech on May 22, 2012 at 10:58 PM

    Hi,

    Sorry for the inconvenience that may have caused. First, get your form's iFrame Code then edit your code and add onload="scrolltotop()" before the source.

    This is how it looks like:

    <iframe allowtransparency="true" onload="scrolltotop()" src="//form.jotform.me/form/21175426132445" frameborder="0" style="width:100%; height:457px; border:none;" scrolling="no"></iframe>

    Hope this help and if you need further assistance, feel free to contact us again anytime.

    Thank you!

  • Profile Image

    Answered by paradigmplumbing on May 23, 2012 at 05:58 PM

    Sadly, this doesn't seem to be working.  This is the code I embeded, so if there's anything wrong, let me know:

    <iframe allowtransparency="true" onload="scrolltotop()" src="//form.jotform.us/form/21387766352158" frameborder="0" style="width:100%; height:848px; border:none;" scrolling="no">

    </iframe>

     

    Are there anyother suggestions for accomplishing this scroll to top effect.  I find that from my website, on my contact JotForm, when I scroll to the bottom to click submit, since it doesn't scroll me to the top, the "submitter" may not see the "Thank you for you submission" messge, and has the perception of lacking closure.

  • Profile Image
    JotForm Support

    Answered by abajan on May 23, 2012 at 07:19 PM

    @paradigmplumbing

    Please see the following links for alternative solutions:

    Thank you message on the top
    How to get the thank you message to appear in the form itself