Page Break not scrolling to 0,0 position

  • Profile Image
    mishpokhe
    Asked on December 03, 2017 at 12:58 AM

    My form "Heritage Questionnaire" is embedded in a Moonfroot website.

    The form has page breaks which when used in desktop mode works well. However when used on a ipad I'm finding that after the first "next" button is used the form does not scroll back to the 0,0 position. I'm currently embedding using source code (my preference) although I've tested with Iframe and am getting the same problem. Please could you adjust the source code to eliminate this problem. 


    Thanks,

    Mel     

  • Profile Image
    liyam
    Answered on December 03, 2017 at 01:51 AM

    Hello,

    I noticed that on your page, there is an iframe that calls the CGI source which has the form in it. Can you try inserting in that iframe the attribute onload="window.top.scrollTo(0,0);" and see if it works?

    Example:

    <iframe class="page_heritage-questionnaire-copy_f7c0kybyOOfoGapeYxsoC" frameborder="0" src="/cgi-bin/snippet.cgi?todo=as_page;instance=4594127345;num=0;community_id=4013547950" scrolling="no" allowTransparency="true" onload="window.top.scrollTo(0,0);"></iframe>