Top of page anchor

  • clarkschool
    Asked on January 24, 2016 at 9:50 AM

    Hi there,

    I have made a form to use on the both the PC and mobile version of my website which has a number of page breaks in it.

    When I click the "next" button to go to the next page, the next page opens in the same position that the previous page was at (the bottom), but ONLY on a PC--it works fine on mobile.

    Is there any way to tell the form to open at the top of each page when the "next" button is clicked so that PC users don't have to scroll up?

  • Kevin Support Team Lead
    Replied on January 24, 2016 at 1:19 PM

    Hi,

    If I can understand you correctly, you are asking for a way to always move the page to the top of the form when clicking on the page break buttons.

    JotForms have that code implemented, and always you see the top of the section when you click on the buttons.

    Top of page anchor Image 1 Screenshot 20

    Have you embedded your form ? 

    If so, please share us the link, we will be glad to help you.

    Thanks.

  • clarkschool
    Replied on January 25, 2016 at 2:22 PM

    Thank you for your help!

    This is interesting: when i'm in "Preview" mode, the form does not behave as it should, but if I click "Open in New Tab" from the Preview then I can see the actual form. I guess this one is solved: just don't expect all of the functionality to work in Preview mode.

  • Kevin Support Team Lead
    Replied on January 25, 2016 at 6:43 PM

    Yes, I checked it on preview mode and I can see that when you click on the page break buttons the form is not going to the top of the page.

    However, it's only on preview mode, since it's working as it should when loading the form directly using a web browser.