Issue with form submission / confirmation sending you lower on the page

after submitting the brief form on this page: https://tinyurl.com/ycuvz6nv

the page automatically sends you lower on the page (so you have to scroll back up to see the ‘thank you’ / confirmation message). here’s a screenshot: https://imgur.com/a/DOgR5

why is this happening?

thanks

Hello @COK,

Thanks for writing in! :slight_smile:

It is because it is loaded through an iframe. The submit button on the page is down near the bottom, but the resulting page is short and the content appears on the top. So, when a user submits the form the resulting page is empty as the contents are all the way on the top, and the browser is scrolled down too far.

Please add this code into X > Launch > Theme Options > JS:

jQuery(function($) {
    $('#gform_35').on('submit', function(e) { 
        parent.scrollTo(0, 0); return true
    });
});

Hope it helps.

I’ve added this JS and cleared cache but the issue is still the same.

Hi there,

You are using Gravity Forms which is a third party plugin. Kindly contact the developer of the plugin as we cannot support third party plugins.

Thank you.

Okay, I’ll contact gravity forms. Thanks

You’re welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.