Form is auto positioning at top of screen

  • chris.bloor147
    Asked on November 23, 2021 at 2:26 PM

    Hi,

    When I click on the next button on my embedded for on my website, it auto re-positions the form to the top of the page - is this something that can be altered?


    See video:


    https://www.loom.com/share/61e97286cbec40699a5940b4be4a470d

  • Harvey JotForm Support
    Replied on November 23, 2021 at 3:40 PM

    Hi there,

    Thank you for contacting us!

    I see that your form is embedded using the iFrame code. Can you please add ?nojump at the end of the form URL inside the iframe code? Here is the iFrame code with ?nojump.

      <iframe
       id="JotFormIFrame-213000661237341"
       title="Enquiry Form"
       onload="window.parent.scrollTo(0,0)"
       allowtransparency="true"
       allowfullscreen="true"
       allow="geolocation; microphone; camera"
          src="https://form.jotform.com/213000661237341?nojump"
       frameborder="0"
       style="
       min-width: 100%;
       height:539px;
       border:none;"

       scrolling="no"
      >

      </iframe>

    If this did not work can you try to delete the onDISABLEDload="window.parent.scrollTo(0,0)" from the iframe code?

    Let us know how it goes.

  • chris.bloor147
    Replied on November 24, 2021 at 2:16 AM

    That's done it, thanks so much! Great service as ever!