Need something like a "back to top"...

User 38401 Photo


Registered User
10,951 posts

Marina, I might suggest also to remove the space in your directory names and file names if any there too. Not a good practice and could end up causing issues for people trying to find things.
User 187934 Photo


Senior Advisor
18,074 posts

I'll test to make sure it works on one of my forms. It might be those spaces in your form name as JoAnn has pointed out. They typically mess linking and scripts up.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
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 personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com
http://ericrohloff.com/property/
User 400784 Photo


Registered User
11 posts

Soren Noernberg wrote:
Look for height="1896"
Change that hight to something greater than 1896.
It should bee changed in 3 places.
Remember to leave space for error messages.

Søren


Tried it, didn't work - thanks anyway :(

I might suggest also to remove the space in your directory names and file names if any there too.


Took a while to do as my training website links to the shop but definitely a good tip - thank you Jo Ann. Such a tiny thing...anyway, this has helped because the entire order form can be viewed without me having to fiddle with the settings.

However, I still have a problem with the form embedded in the shopping cart (not returning to top of page on submit) and (placeholders are not visable) :| See http://canine-shop.co.uk/RawShop/Order_Form.php

BUT

If I create a link to the form instead (and with all your help) everything works wonderfully :) See http://www.canine-shop.co.uk/RawShop/raworderform.php

I would settle for the latter option but it would not look professional and its not particularly user friendly. Do you think the problem lies in the shopping cart software?

User 38401 Photo


Registered User
10,951 posts

Hate to say it but this part is over my head lol. I have heard a few others say something about the form not directing people back to the top of the page. What about creating a separate thank you page outside of your cart that has the same feel of your shop with a "Back to the Shop" button on it?
User 187934 Photo


Senior Advisor
18,074 posts

Marina Timms wrote:
Eric Rohloff wrote:
Go to this directory and open the myformname.html. Now replace the code of the body tag near the top.:)
myformname_exported/myformname/myformname.html


Thank you Eric - found the file and entered this code as instructed (<body onSubmit="window.parent.scroll(0,0);">) and this is what has happened...

Select and complete the form from this location http://canine-shop.co.uk/Raw%20Shop/category.php and the form will return to top of page on submission but...

Select and complete the form within the shop http://canine-shop.co.uk/Raw%20Shop/Order_Form.php and it doesn't work!

Any ideas why? :/

This is intresting; I have also just noticed that the placeholders are visible in the former url but not in the latter!

Try this instead.
onload="scroll(0,0);"
Place this inside the embed script code for the form.

<script type="text/javascript">document.write(unescape("%3Ciframe id=\"fb_iframe\" src=\"myformname.php" + window.location.search + "\" width=\"100%\" height=\"373\"allowtransparency=\"true\" scrolling=\"no\" frameborder=\"0\"%3E&lt;a href=\"myformname.php\" title=\"myformname\"&gt;Check out my CoffeeCup Form&lt;/a&gt;%3C/iframe%3E"));</script>
<noscript>
<iframe onload="scroll(0,0);" width="100%" height="373" style="border:none; background:transparent; overflow:hidden;"
id="fb_iframe" src="myformname/myformname.html">
&lt;a href="myformname.php" title="myformname"&gt;Check out my CoffeeCup
Form&lt;/a&gt;
</iframe>
</noscript>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
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 personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com
http://ericrohloff.com/property/
User 2737439 Photo


Registered User
2 posts

Do you know if this has been fixed in 2.5?
User 187934 Photo


Senior Advisor
18,074 posts

John Yodzis wrote:
Do you know if this has been fixed in 2.5?

No, you still need the work arounds.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
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 personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com
http://ericrohloff.com/property/
User 2535143 Photo


Registered User
2 posts

I've been reading through several threads on this topic and none of the fixes work for me. After clicking Submit on my form the Payment Page comes up (well, the blank bottom of the form) and you have to scroll up to see the PayPal button. Here's the HTML code when you click "Configure Payment Page":
[Membership]<center>
<style type="text/css">
#docContainer table {width:80%; margin-top: 5px; margin-bottom: 5px;}
#docContainer td {text-align:right; min-width:25%; font-size: 12px !important; line-height: 20px;margin: 0px;border-bottom: 1px solid #e9e9e9; padding-right:5px;}
#docContainer td:first-child {text-align:left; font-size: 13px !important; font-weight:bold; vertical-align:text-top; min-width:50%;}
#docContainer th {font-size: 13px !important; font-weight:bold; vertical-align:text-top; text-align:right; padding-right:5px;}
#docContainer th:first-child {text-align:left;}
#docContainer tr:first-child {border-bottom-width:2px; border-bottom-style:solid;}
#docContainer center {margin-bottom:15px;}
#docContainer form input { margin:5px; }
#docContainer #fb_confirm_inline { margin:5px; text-align:center;}
#docContainer #fb_confirm_inline>center h2 { }
#docContainer #fb_confirm_inline>center p { margin:5px; }
#docContainer #fb_confirm_inline>center a { }
#docContainer #fb_confirm_inline input { border:none; color:transparent; font-size:0px; background-color: transparent; background-repat: no-repeat; }
#docContainer #fb_paypalwps { background: url('https://coffeecupimages.s3.amazonaws.com/paypal.gif');background-repeat:no-repeat; width:145px; height:42px; }
#docContainer #fb_googlepay { background: url('https://coffeecupimages.s3.amazonaws.com/googlecheckout.gif'); background-repeat:no-repeat; width:168px; height:44px; }
#docContainer #fb_authnet { background: url('https://coffeecupimages.s3.amazonaws.com/authnet.gif'); background-repeat:no-repeat; width:135px; height:38px; }
#docContainer #fb_2checkout { background: url('https://coffeecupimages.s3.amazonaws.com/2co.png'); background-repeat:no-repeat; width:210px; height:44px; }
#docContainer #fb_invoice { background: url('https://coffeecupimages.s3.amazonaws.com/btn_email.png'); background-repeat:no-repeat; width:102px; height:31px; }
#docContainer #fb_invoice:hover { background: url('https://coffeecupimages.s3.amazonaws.com/btn_email_hov.png'); }
#docContainer #fb_goback { color: inherit; }
</style>
[_cart_summary_]
<h2>Almost done! </h2>
<p>Your order will not be processed until you click the payment button below.</p>
<a id="fb_goback"href="?action=back">Back to form</a></center>

Any ideas on what code to put where to get to the top of the page? Thanks.

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.