# \#javascript-error

**URL:** https://community.gravityforms.com/tag/javascript-error/315.md

[Latest](https://community.gravityforms.com/latest.md) · [Categories](https://community.gravityforms.com/categories.md) · [Tags](https://community.gravityforms.com/tags.md)

---

## [Potential fix for unresponsive editor (Uncaught TypeError: gform.addAction is not a function)](https://community.gravityforms.com/t/potential-fix-for-unresponsive-editor-uncaught-typeerror-gform-addaction-is-not-a-function/19598)

<div class="topic-metadata">

**Author:** [@cory](https://community.gravityforms.com/u/cory)\
**Replies:** 0\
**Last updated:** [July 17, 2025, 12:51am UTC](https://community.gravityforms.com/t/potential-fix-for-unresponsive-editor-uncaught-typeerror-gform-addaction-is-not-a-function/19598 "2025-07-17T00:51:08Z")

</div>

Lots of topics from this forum show up when searching Google for a variation on gform.addAction is not a function (like this one), so I figured I’d post in the same forum with a solution that worked in my particular case…

---

## [Perpetually spinning wheel upon attempt to submit - only \*sometimes\*](https://community.gravityforms.com/t/perpetually-spinning-wheel-upon-attempt-to-submit-only-sometimes/17850)

<div class="topic-metadata">

**Author:** [@user5dcdecd7d0505094](https://community.gravityforms.com/u/user5dcdecd7d0505094)\
**Replies:** 0\
**Last updated:** [July 13, 2024, 4:27pm UTC](https://community.gravityforms.com/t/perpetually-spinning-wheel-upon-attempt-to-submit-only-sometimes/17850 "2024-07-13T16:27:17Z")

</div>

We have an issue where occasionally someone gets the perpetually spinning wheel upon attempted submission… We still receive their information, but the lead thinks that their info hasn’t been received, because they don’t …

---

## [Address field ajax error when inserting](https://community.gravityforms.com/t/address-field-ajax-error-when-inserting/12897)

<div class="topic-metadata">

**Author:** [@jacob\_v\_dam](https://community.gravityforms.com/u/jacob_v_dam)\
**Replies:** 1\
**Last updated:** [June 23, 2022, 2:20pm UTC](https://community.gravityforms.com/t/address-field-ajax-error-when-inserting/12897 "2022-06-23T14:20:27Z")

</div>

Hello, e want to add an address field to a form but we get a syntax error. We tried to disable or enable modules but the error always remain. The error is: The strange thing is that everything seems fine. We run th…

---

## [2.6.1 - Cannot edit forms anymore](https://community.gravityforms.com/t/2-6-1-cannot-edit-forms-anymore/12322)

<div class="topic-metadata">

**Author:** [@user5ba252a56c7565.7](https://community.gravityforms.com/u/user5ba252a56c7565.7)\
**Replies:** 7\
**Last updated:** [April 15, 2022, 3:13pm UTC](https://community.gravityforms.com/t/2-6-1-cannot-edit-forms-anymore/12322 "2022-04-15T15:13:34Z")

</div>

I get the following error in my browser console when I load the admin form editor: Uncaught TypeError: gform.initializeOnLoaded is not a function This seems to be the root problem of a bunch of following problems that …

---

## [Asynchronous Loading form using Barba/Swup?](https://community.gravityforms.com/t/asynchronous-loading-form-using-barba-swup/12404)

<div class="topic-metadata">

**Author:** [@jsros86](https://community.gravityforms.com/u/jsros86)\
**Replies:** 0\
**Last updated:** [April 9, 2022, 4:39pm UTC](https://community.gravityforms.com/t/asynchronous-loading-form-using-barba-swup/12404 "2022-04-09T16:39:10Z")

</div>

Hi, I know I’m not the only one with this issue and would love to resolve this for the community! The following code allows Gforms to load asynchronously using gravity forms version 2.4 and works great with Swup.js I’m…

---

## [Ampersands encoded to HTML entities resulting in JS error](https://community.gravityforms.com/t/ampersands-encoded-to-html-entities-resulting-in-js-error/10818)

<div class="topic-metadata">

**Author:** [@TeamCreative](https://community.gravityforms.com/u/TeamCreative)\
**Replies:** 1\
**Last updated:** [September 29, 2021, 6:41pm UTC](https://community.gravityforms.com/t/ampersands-encoded-to-html-entities-resulting-in-js-error/10818 "2021-09-29T18:41:38Z")

</div>

Im running into an issue when trying to embed a Gravity Form into a custom ACF-block. Gravityforms embeds a script along with the form; gform\_hooks.min.js However, the 5th instance of double ampersands, &&, ends up enc…

---

## [Layout\_editor.min.js:1 Uncaught TypeError: Cannot read property 'isRtl' of undefined](https://community.gravityforms.com/t/layout-editor-min-js-1-uncaught-typeerror-cannot-read-property-isrtl-of-undefined/9309)

<div class="topic-metadata">

**Author:** [@shenkener](https://community.gravityforms.com/u/shenkener)\
**Replies:** 3\
**Last updated:** [May 23, 2021, 11:34pm UTC](https://community.gravityforms.com/t/layout-editor-min-js-1-uncaught-typeerror-cannot-read-property-isrtl-of-undefined/9309 "2021-05-23T23:34:24Z")

</div>

Hi there, We’re experiencing an issue with some (but not all) of our users where attempting to reorder (drag and drop) doesn’t work. Attempting to drag an item does not result in a visual change and throws an error in t…

---

## [Javascripts error in alert page Cannot create property 'type' on string ''](https://community.gravityforms.com/t/javascripts-error-in-alert-page-cannot-create-property-type-on-string/1599)

<div class="topic-metadata">

**Author:** [@user5caf1d303e7ee400](https://community.gravityforms.com/u/user5caf1d303e7ee400)\
**Replies:** 1\
**Last updated:** [April 15, 2019, 12:09pm UTC](https://community.gravityforms.com/t/javascripts-error-in-alert-page-cannot-create-property-type-on-string/1599 "2019-04-15T12:09:33Z")

</div>

Hi, We have JS error in alert page. The visual tab is blank. I updated all plugins and theme. Gravity forms version: 2.4.8 Wordpress version: 5.1.1 theme.min.js?wp-mce-4920-20181217:1 Uncaught TypeError: Cannot …
