-
seokansascityAsked on April 11, 2019 at 10:14 PM
-
Jed_CReplied on April 11, 2019 at 10:25 PM
Add this onDISABLEDload="window.parent.scrollTo(0,0)" to your iframe code.
ex.
<iframe id="JotFormIFrame-xxxxxxxxxxxx" onDISABLEDload="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.
-
seokansascityReplied 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...
-
seokansascityReplied 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!!