Goes to top when each field

  • Profile Image
    scooter 
    Asked on February 10, 2017 at 09:58 AM

    Hi, 

    Ive got a form on my website and when you input it on a phone it scrolls to the top of the page each time you touch another box to fill in! Any suggestions? 

  • Profile Image
    Kevin_G
    Answered on February 10, 2017 at 11:52 AM

    I have checked your form in a mobile device emulator and noticed it works fine, after filling out a field it does not jump to the top, here's my screen-cast: 

    I can see you've embedded your form using the JavaScript method, do note that using this embed method already prevents the form to jump.

    However, if you're still experiencing the issue you could embed your form using the iFrame code, this guide will help to get it: https://www.jotform.com/help/148-Getting-the-form-iFrame-code 

    And add "?nojump" at the end of the form's link, example: 

        <iframe

          id="JotFormIFrame"

          onload="window.parent.scrollTo(0,0)"

          allowtransparency="true"

          src="https://form.jotform.com/123456789?nojump"

          frameborder="0"

          style="width:100%;

          height:2190px;

          border:none;"

          scrolling="no">

        </iframe>

    If the this still persists, please  let us know.