# Version 2.5.7.3 bugfix in redirectURL of AJAX forms \[RESOLVED\]

**URL:** <https://community.gravityforms.com/t/version-2-5-7-3-bugfix-in-redirecturl-of-ajax-forms-resolved/10253>\
**Category:** Get Help\
**Tags:** has-issue, confirmation-redirect\
**Created:** [July 12, 2021, 3:54pm UTC](https://community.gravityforms.com/t/version-2-5-7-3-bugfix-in-redirecturl-of-ajax-forms-resolved/10253 "2021-07-12T15:54:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gopublic](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@gopublic](https://community.gravityforms.com/u/gopublic)\
**Post date:** [July 12, 2021, 3:54pm UTC](https://community.gravityforms.com/t/version-2-5-7-3-bugfix-in-redirecturl-of-ajax-forms-resolved/10253/1 "2021-07-12T15:54:42Z")

</div>

Since the update to version 2.5.7.3 the redirect URL in AJAX forms is not working anymore. If you finish a form, it simply shows the javascript code underneath the submit button instead of redirecting you to the URL:  
 ![Screenshot 2021-07-12 at 17.53.06](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/a/a0cb092e8ab66fe89467cc4a60ca4576909aedf3.png)

It’s happening in the file form\_display.php on line 1860 in the function get\_js\_redirect\_confirmation().

I can manually fix it by adding my own \< script \>\</ script \> around the function. I can see that this part of the code is changed in the 2.5.7.3 update.

---

<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:** [July 12, 2021, 4:23pm UTC](https://community.gravityforms.com/t/version-2-5-7-3-bugfix-in-redirecturl-of-ajax-forms-resolved/10253/2 "2021-07-12T16:23:55Z")

</div>

Hello. Can you please submit this as a support ticket?

> **[Support](https://www.gravityforms.com/support/)**
>
> Welcome to the Gravity Forms customer support page. Please research your issue on the FAQ and Documentation pages before submitting a support ticket. This

That way we can get it in from of the product engineers. Thank you.

---

<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:** [July 12, 2021, 6:53pm UTC](https://community.gravityforms.com/t/version-2-5-7-3-bugfix-in-redirecturl-of-ajax-forms-resolved/10253/3 "2021-07-12T18:53:56Z")

</div>

The quick fix, to get you working again, is to disable AJAX on the embed. But if you open a support ticket, we can log the issue and notify you when a fix is available. Thank you.

---

<div class="post-metadata">

**Author:** ![gopublic](https://avatars.discourse-cdn.com/v4/letter/g/b77776/32.png) [@gopublic](https://community.gravityforms.com/u/gopublic)\
**Post date:** [July 13, 2021, 7:48am UTC](https://community.gravityforms.com/t/version-2-5-7-3-bugfix-in-redirecturl-of-ajax-forms-resolved/10253/4 "2021-07-13T07:48:09Z")

</div>

@chrishajer I have created a new Support ticket. So this item can be closed.

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [July 13, 2021, 10:35am UTC](https://community.gravityforms.com/t/version-2-5-7-3-bugfix-in-redirecturl-of-ajax-forms-resolved/10253/5 "2021-07-13T10:35:39Z")

</div>


