Long Form - Post ID 238408

User 2140875 Photo


Registered User
364 posts

I have an extra long form that is connected to PayPal. When I click on the submit button, I have to scroll back up the page to see the "You're almost Done" section where I can click on the PayPal button.

Is there some code I can add that once I click the "Submit" button I will automatically go back to the top of the page where I can see the PayPal button.

Thanks.
User 187934 Photo


Senior Advisor
20,188 posts

Hi Galen,
Users are doing this for the confirmation. I'll have to test for the Paypal.
http://www.coffeecup.com/forums/web-for … post210811
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 2140875 Photo


Registered User
364 posts

Eric,

Thanks. I am using VSD and insert the form on a VSD created page. Can the code be added somewhere within VSD?

Any other suggestions you have for the PayPal button issue would be greatly appreciated. Thanks.
User 187934 Photo


Senior Advisor
20,188 posts

Did you try the one method?
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 2140875 Photo


Registered User
364 posts

Hi Eric.
I was not able to get it to work using VSD. After publishing with visit I was able to use the HTML editor and add your jquery script and it did work. But now I am faced with the dilemma that each time I publish with VSD I will overwrite that form page and have to go back and change it every time.

Any suggestions for how to use the code within VSD?

I tried adding it to the header, no go. Then tried adding it above the form in an HTML box, but it I could see when I opened the page in the HTML editor that it kept adding the script AFTER the form. Maybe I should delete the form, add the jquery script, then add the form back in. What do you think?

Thanks again,
Galen
User 187934 Photo


Senior Advisor
20,188 posts

Use the iframe code that the form builder generates on a page in VSD. Now adjust the iframe code by adding an extra myformname/ to the front of the src. Use the html to publish your form files but leave them in the myformname_exported but remove the _exported from the name before you publish.
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 2140875 Photo


Registered User
364 posts

Got it working now, thanks. Actually was able to do it just on the VSD page and not go into the iframe code of the form builder.

Thanks for your help.

Galen
User 2662771 Photo


Registered User
14 posts

Hi! I'm not sure if I should be creating a new thread or if I can add to this one, but hoping someone can help me trouble shoot this type of issue for Xara (clicking submit does not reset the page to the top for paypal confirmation). I have added the script code below to the page header, the placeholder header, and even in the confirmation coding in coffeecup above <center>. I couldn't get any of these to work for me. Any suggestions? The form is located on the website: http://kansascowboydressage.com/memberform.htm.

<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>
User 187934 Photo


Senior Advisor
20,188 posts

Hi Kim,
Take a look at this thread. I tested your form and you have the wrong code on the paypal confimation above the <center> tag.:)
http://www.coffeecup.com/forums/web-for … post237945
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

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.