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.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments