It does not jump on top of the page after submitting the form.

  • Profile Image
    seokansascity
    Asked on April 11, 2019 at 10:14 PM
    Also, when sending the form the "Thank You" shows fine but I remain at the bottom of my page for both desktop and cell. 
  • Profile Image
    Jed_C
    Answered on April 11, 2019 at 10:25 PM

    Add this onload="window.parent.scrollTo(0,0)" to your iframe code.

    ex.

    <iframe id="JotFormIFrame-xxxxxxxxxxxx" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://form.jotformpro.com/xxxxxxxxxxxx" frameborder="0" style="width: 1px; min-width: 100%; height:539px; border:none;" scrolling="no"> </iframe>

    The one highlighted in red is the one that needs to be added to your embed code in order for it to return on top after submitting the form.

    Please try that out and let us know how it goes.

  • Profile Image
    seokansascity
    Answered on April 11, 2019 at 10:39 PM

    Ah ha!.. That code was already present in the iframe. However, I was using the javascript instead...just tested it and it works on both desktop and cell.. woohoo.. good call, jed!.. you da man...

  • Profile Image
    seokansascity
    Answered on April 11, 2019 at 10:44 PM

    also just checked.. and this may not be the right thread.. but I asked if the forms have issue with FireFox. I was unable to see it in Linux or Windows using FF. However, since changing from javascript embed to iframe embed.. all works as jotform planned... Hey I learned some stuff today!.. Thanks!!