How to make the confirm page scroll...

User 187934 Photo


Senior Advisor
20,200 posts

The scroll to top is for the built in confirmation. If you select custom html page and enter the absolute url, it should break out of the iframe and load to the top of the custom confirmation page.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 39859 Photo


Registered User
62 posts

It isn't doing either of those things. The built in confirmation does not scroll to the top, and the custom html page doesn't break out. Maybe it's because I've edited some of the files.
User 187934 Photo


Senior Advisor
20,200 posts

How are you setting the link to the custom html page?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 39859 Photo


Registered User
62 posts

I'm not using the "Redirect to another URL" option. Looks like it's either live with the scrolling issue or redirect to another URL. At least if I branch to another URL my viewer will know to be looking for a message via email.

Thanks for your help everyone!
User 187934 Photo


Senior Advisor
20,200 posts

The scroll code should work. I know I tested it let me take a look and see if I can find the form I used to do that.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 187934 Photo


Senior Advisor
20,200 posts

Add this to the top of the page that your iframe embed code is on for the form.:D

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script language="javascript">
$(document).ready(function() {
$('body iframe').load(function(){
$(window).scrollTop(0);
});
});
</script>

Lets all say "Thank You JQuery".:cool:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 39859 Photo


Registered User
62 posts

So, where have you been all my life??? (just kidding, of course!)

:D That worked perfectly!

I tried a dozen of those, and this is the only one that worked, so I had given up hope of finding a solution through jquery, or any other script for that matter..

So, I guess the only other question is, where do you search the net for code?

Thank you!
User 187934 Photo


Senior Advisor
20,200 posts

I wrote it out of my small knowledge of JQuery.;) Just had to remember what I did exactly when I was looking into the same thing on a form I was making. I ended up not needing it because I replaced the formname.php with my own custom code for processing.:) There's so much you can manipulate with Jquery without touching any of the code generated by some of these apps.:cool:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 39859 Photo


Registered User
62 posts

I appreciate your willingness to share that code. Again, thank you so much.
User 2511270 Photo


Registered User
2 posts

My client was having the same issue. It seems that the Formbuilder code does not jump to the top for the confirmation page in Internet Explorer. It works as expected in Safari.

I used the code above to fix it (thanks Eric) but thought it should be flagged as an IE bug for Formbuilder.

Thank you,

SImon.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.