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

  • Profile Image
    paradigmplumbing
    Asked 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
    pinoytech
    Answered 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
    paradigmplumbing
    Answered 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
    abajan
    Answered 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