WEB FORM BUILDER #3

User 2275338 Photo


Registered User
13 posts

I am having a problem with the confirmation screen at the end of my form after submit and not sure what I can do to fix it.
After submitting on a normal screen size the confirmation page looks blank as the form automatically scrolls the page to the bottom and therefore the confirmation message is hidden at the top and people think it is a blank screen can you help.

Website Url: http://www.formsat.jandmservices.co.uk/
User 2147626 Photo


Ambassador
2,958 posts

Read through this, should find your answer. :cool:
http://www.coffeecup.com/forums/web-form-builder/how-to-make-the-confirm-page-scroll-to-the-top/
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 2275338 Photo


Registered User
13 posts

I added the code to the top of the page code and it has not worked. Our form was created with show confirmation message from the programme so it stays on the index page in the iframe I think and is not directed away to another page so I added code to that index page but it is still going to the bottom. I have removed the code now just in case it gives problems.
I put in at the top
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script language="javascript">
jQuery(document).ready(function() {
$('body iframe').load(function(){
$(window).scrollTop(0);
});
});
</script>

unless I was supposed to alter anything in the code.
User 187934 Photo


Senior Advisor
20,271 posts

What page did you place it on?
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 2275338 Photo


Registered User
13 posts

I put it on http://www.formsat.jandmservices.co.uk/ page as this is a subdomain just for the form with 1 page named index on with the code.
User 187934 Photo


Senior Advisor
20,271 posts

I don't see the script on that page.;)
Also that page is missing all the fundamental parts required.
http://www.w3schools.com/html/
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 2275338 Photo


Registered User
13 posts

I removed it in case it gave me any problems give me 5 mins and I will put it back
User 2275338 Photo


Registered User
13 posts

ok i put it back in
User 2275338 Photo


Registered User
13 posts

fill it in by all means and send
User 2147626 Photo


Ambassador
2,958 posts

Don't know about this since i'm not really a 'coder', but, the code you entered does not match the example given...
Example Code:
<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>

Your Code: see the difference ??
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script language="javascript">
jQuery(document).ready(function() {
$('body iframe').load(function(){
$(window).scrollTop(0);
});
});
</script>
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com

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.