• Resolved intarwebsdeveloper

    (@intarwebsdeveloper)


    Tried searching the entire site for Gravity Forms embed codes and it found nothing. I’m assuming the GF embed code is different than a shortcode, that’s why it doesn’t work.

Viewing 5 replies – 1 through 5 (of 5 total)
  • Sepi

    (@sepicompanywork)

    yeah, i have this problem too, gravity forms do not work when Disable unused/orphan shortcodes option is on.

    Plugin Author Scribit

    (@scribit)

    The new 1.6.0 version introduces the search of shortcodes also in not public custom post types (like visual composer templates, woocommerce additional data, and many other cases).

    I have not Gravity forms license to try with new version of plugin, but I suppose it will show you the forms created with Gravity as new types and then you will be able to find your shortcodes in.

    Could you try and give me a feedback?
    Thanks

    Thread Starter intarwebsdeveloper

    (@intarwebsdeveloper)

    Hello, I tested it with the [gravityform id=””] shortcode and it is working now with this shortcode. First test was with the Disable Gutenburg 3.2.1 plugin enabled and the shortcode was entered into the Classic Editor. Second test was with Beaver Builder 2.8.4.1 and I entered the shortcode in the Text Editor module. The Shortcodes Finder 1.6.0 plugin found the shortcode in both tests.

    • This reply was modified 1 year, 3 months ago by intarwebsdeveloper. Reason: Added version numbers for plugins
    Plugin Author Scribit

    (@scribit)

    Perfect @intarwebsdeveloper . Thanks for your tests!

    it doesn’t work with gravity forms using ajax because the shortcode find/replace logic confuses inline javascript arrays with shortcodes and removes them.

    specifically the array on gravityforms/form_display.php:971,

    	            observer.observe( document.body, {
    attributes: true,
    childList: false,
    subtree: true,
    attributeFilter: [ \'style\', \'class\' ], // THIS ONE HERE
    });

    which causes the javascript to error and submissions POST successfully but nothing is done with the response itself.

Viewing 5 replies – 1 through 5 (of 5 total)

The topic ‘Does it work with Gravity Forms?’ is closed to new replies.