Goto top on clicking Next

  • itechnosoft
    Asked on August 6, 2014 at 9:42 AM
    when it went to the next page break it showed the page at the bottom since the user clicked it at the bottom to go to next, it should load up the top isn't it? This is the case for both the pages mentioned here.
  • KadeJM
    Replied on August 6, 2014 at 10:32 AM

    So it is not scrolling to the top of the form on next page then? You can fix this in one of two ways. You can add our ScrollToTop Widget which allows users to scroll to top if they need to at the click of a button. Or, if you want to automate it then I think it would be better to use the iFrame Code which contains the assigned value to reset your form to the top of the page on page load -

    <iframe id="JotFormIFrame" onDISABLEDload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotformeu.com/form/42173034162343" frameborder="0" style="width:100%; height:4788px; border:none;" scrolling="no"></iframe>

     

  • itechnosoft
    Replied on August 6, 2014 at 12:19 PM

    Hi Kade

    Does not work, but I cannot post the link here.

    The html file is finaloman5.html

  • itechnosoft
    Replied on August 6, 2014 at 12:24 PM

    So there are 2 issues.

    1. the height is too long for the form, even goes beyond the page break

    2. Scroll to top causes the 2nd page break not to load, shows only about 20pixels, but when i remove it it works fine again.
  • KadeJM
    Replied on August 6, 2014 at 12:56 PM

    Sorry about that not working. These are two new issues from your topform request so I've separated these into additional threads. Please follow the moved thread links above to find answers for each.