Form is auto positioning at top of screen

  • Profile Image
    chris.bloor147
    Asked on November 23, 2021 at 02: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

  • Profile Image
    Harvey_N
    Answered on November 23, 2021 at 03: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 onload="window.parent.scrollTo(0,0)" from the iframe code?

    Let us know how it goes.

  • Profile Image
    chris.bloor147
    Answered on November 24, 2021 at 02:16 AM

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