# Form failure - reload to anchor tag area

**URL:** <https://community.gravityforms.com/t/form-failure-reload-to-anchor-tag-area/15281>\
**Category:** Get Help\
**Tags:** gform\_confirmation\_anchor, ajax\
**Created:** [June 6, 2023, 11:38am UTC](https://community.gravityforms.com/t/form-failure-reload-to-anchor-tag-area/15281 "2023-06-06T11:38:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![user608697c9e45eb032](https://avatars.discourse-cdn.com/v4/letter/u/ecccb3/32.png) [@user608697c9e45eb032](https://community.gravityforms.com/u/user608697c9e45eb032)\
**Post date:** [June 6, 2023, 11:38am UTC](https://community.gravityforms.com/t/form-failure-reload-to-anchor-tag-area/15281/1 "2023-06-06T11:38:59Z")

</div>

Hi. I have a landing page, with a registration form on the bottom of the page (there is also an anchor tag for a user to jump to the form directly.

The problem is, if the user fills out something incorrectly, after the submit button, the page reloads, but brings the user to the top of the screen, rather than to the start of the form. Is there a way to configure that if there is an error with submission, the form reloads just to anchor tag where the form is located, rather than the top of the page?

---

<div class="post-metadata">

**Author:** ![chrishajer](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/chrishajer/32/88_2.png) [@chrishajer](https://community.gravityforms.com/u/chrishajer)\
**Post date:** [June 14, 2023, 3:17pm UTC](https://community.gravityforms.com/t/form-failure-reload-to-anchor-tag-area/15281/2 "2023-06-14T15:17:59Z")

</div>

Hi Gittel. You can do one of two things:

1. Enable AJAX on the embed (if you’re using the shortcode or a block, you have an option to enable AJAX.) That will reload the page in place after a validation error.
2. Use the gform\_confirmation\_anchor filter: [https://docs.gravityforms.com/gform\_confirmation\_anchor/](https://docs.gravityforms.com/gform_confirmation_anchor/) There are different ways to use the filter based on how your form is embedded.

Try either of those solutions and let us know if you’re looking for something else. Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [July 14, 2023, 3:18pm UTC](https://community.gravityforms.com/t/form-failure-reload-to-anchor-tag-area/15281/3 "2023-07-14T15:18:17Z")

</div>

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