-
Russell GoodAsked on October 28, 2020 at 6:40 PM
Hello, I created a ticket for an issue last week. I received a response, but the response did not fix the issue. I tried replying to the email notification, but I didn't hear back on that. I'm guessing that's an unmonitored email address. Here's the original ticket URL: https://www.jotform.com/answers/2650370-Page-is-scrolled-to-top-after-form-submit
Here's my response to the response on that ticket:
Rusty Good <rwgood187@gmail.com>
Fri, Oct 23, 11:35 AM (5 days ago)
to forum+2650370
Thanks. I tried both of those things. Neither of them fixed the problem of the page being scrolled to the top and the user not knowing what's happening. However, when I embedded the form with an iframe, it stopped throwing the cross origin iframe error.
I tried removing all the 'submit' and 'click' event listeners from the the form and submit button elements (except for the ones added by jotform code) and the page is still scrolled to the top when I submit.
-
Jed_CReplied on October 28, 2020 at 11:06 PM
Please try using the embed code below and see if that helps.
<iframe id="JotFormIFrame-202515265099154" title="Green Casket Interest Form" onDISABLEDload="window.scrollTo({top: 2500, left: 1000});" allowtransparency="true" allowfullscreen="true" allow="geolocation; microphone; camera" src="https://form.jotform.com/202515265099154" frameborder="0" style=" min-width: 100%; height:539px; border:none;" scrolling="no" > </iframe>
Let us know how it goes.
-
Jed_CReplied on October 29, 2020 at 8:03 PM
Have you tried mine? I tried adding "onDISABLEDload="window.scrollTo({top: 2500, left: 1000});" in the iframe code I've provide. Can you please try that?
-
Jed_CReplied on October 29, 2020 at 11:20 PM
Upon checking, you are redirecting your users to a different thank you page https://www.dancingrabbit.org/green-casket-part-2-v2/.
That's the reason why users won't see anything when the form is being submitted, but instead will be redirected to that URL.
If I misunderstood your question, kindly clarify it. Looking forward for your response.
-
VincentJayReplied on October 30, 2020 at 4:37 PM
Hi,
Unfortunately, there's no option or feature that can display text after the user submitted the form and getting redirect to a different page. However, you can try the default thank you page and add the link or site you want the user to go to.
Will that work for you?