Page scrolls to the top when form is submitted

THIS POST MAY CONTAIN AFFILIATE LINKS. PLEASE READ OUR DISCLAIMER FOR MORE INFO.

Symptoms

The page scrolls to the top when your form is submitted and users have to scroll back down to the form to see the error or confirmation messages.

How To Fix It

Enabling AJAX on your form will ensure that only the form area changes and the confirmation message or error messages are displayed when the form is submitted, preventing the page from reloading.

Enabling AJAX is handled different depending on how you’re embedding the form in your page. Click the appropriate article below for your embed method to learn how to enable AJAX on your forms.

For a slightly more advanced option, you may also want to take a look at the gform_comfirmation_anchor documentation.

Need More Help?

If you still need help, feel free to use the comments or chat options below.

If you have an active Gravity Forms license, you can also open a support ticket here.

Get the latest news, tips, and how-tos all delivered to you!

Your information is used only for email communications by GravityRanger. We do send the occasional product promotion email.

Name*
This field is for validation purposes and should be left unchanged.


>