

Luckily, there’s a special filter to register “safe” scripts and styles – gform_noconflict_scripts.

In this case, the extension must “tell” Gravity Forms core that there are some extra scripts to be allowed when no-conflict mode is turned on. gformenqueuescripts This filter is executed during the process of enqueuing scripts for each form in the current page. In case you’re developing or debugging a Gravity Forms extension it is then recommended that in case you need to enqueue some style or script file on the Gravity Forms admin pages, you need to take into consideration that some users will use the no-conflict mode. When this mode is turned on, all the scripts and styles not allowed by the plugin itself, won’t load in the Gravity Forms admin pages, including the ones that are part of other Gravity Forms add-ons plugins that are not prepared to work in the no-Conflict mode. Pretty cool feature, hum?! Gravity Forms settings screen It may cause issues with certain plugins. Set this to ON to prevent extraneous scripts and styles from being printed on Gravity Forms admin pages, reducing conflicts with other plugins and themes. With the help of smspaulb's link, brandozz has solved the issue by adding the following filter which defers the loading of the GravityForms script to the footer: Just be sure to use caution when deregistering Wordpress jquery and loading in the footer. The Gravity Forms plugin has a general setting to turn on/off the no-conflict mode: Funny that on my local WordPress installation I wasn’t able to reproduce the issue, but at the production installation it was happening consistently. Turned out those odd behaviours were caused by a missing javascript file which was supposed to be enqueued with the Form Editor screen, but in the end it wasn’t. Today I’d the opportunity to spend time debugging some odd behaviours at Gravity Forms’ form editor screen, where some of the features related with one extension in particular weren’t working properly. Recently I’ve been working a lot with Gravity Forms and some of the add-ons available to extend Gravity Forms features.
