Formstack JavaScript Error
-
Hi,
There is an issue with the formstack plugin when using Advanced Custom Fields within a WordPress site. Advanced Custom Fields is a very widely used page builder tool so we’d assume this issue comes up a lot.
When using the Advanced Custom Fields WYSIWYG editor field, the formstack plugin throws an error message. This only occurs on special pages (options, author pages, menu pages) – sections in WordPress that wouldn’t typically have WYSIWYG editor fields present.
We’ve developed a fix to at least not throw the large red error banners, but ideally the plugin would work in those locations as well.
The user displayed error is:
Failed to initialize plugin: Formstack.The JS error that is shown in the console is:
Failed to initialize plugin: formstack ReferenceError: formstack_tinymce is not definedWe have implemented a fix on our version of the plugin which is to this file:
/wp-content/plugins/formstack/tinymce/plugin.jsThe fix is to add this code after line 2 in that JS file:
if (typeof formstack_tinymce == ‘undefined’) {
return;
}Often when the formstack plugin is updated it overwrites our changes so it would be great if you would consider updating the plugin.
Thanks for your help!!
Joe
The topic ‘Formstack JavaScript Error’ is closed to new replies.