Thank you page still scroll to the top - off the page...

  • Profile Image
    Asked on January 04, 2020 at 08:05 PM

    I am using iframe, but it still scroll off the page. Please advice..

    form: 90085865384164

    PS: I use the iframe for squarespace  

  • Profile Image
    Answered on January 04, 2020 at 09:27 PM

    Can you please try replacing the onload="window.parent.scrollTo(0,0)" section of the iFrame code with onload="self.scrollTo(0,0)"?

    The iFrame code would look like the following:

    <iframe id="JotFormIFrame" onload="self.scrollTo(0,0)" allowtransparency="true" src="" frameborder="0" style="width:100%; height:4318px; border:none;" scrolling="no"> </iframe> 

    Please let us know how it goes.


  • Profile Image
    Answered on January 06, 2020 at 12:59 PM

    Works perfecting.  Thank you.  so, I wonder if there is similar trick to do it is <script

    type="text/javascript" src=""></script> ?

  • Profile Image
    Answered on January 06, 2020 at 04:30 PM

    I think it depends on the website where you embed the form. If you want, please try using the default embed code and we will check if you need the code or not. 

    Thank you.