wordpressgravity-forms-plugingravityforms

Gravity form : No display when conditional logic, even with wp_footer() and with jQuery downloaded in section


The subject should be clear enough. On this page : https://www.archionline.com/test-form-one-page/ we are supposed to have a conditional gravity form.

It is not displayed, so I searched online for solutions (FAQ, forums and such), and I can’t find any.

Know that we have in footer.php :

<?php wp_footer() ?>

And jQuery installed and downloaded before GravityForm.

Also, I don’t want to change our version of jQuery as I don’t know what else it could impact.

Thank you !

EDIT : It seems that the problem could occur if jQuery is loaded twice. How can I prevent GravityForm to load jQuery ?


Solution

  • After searching, this is what worked for me.

    Adding :

    add_filter("gform_init_scripts_footer", "init_scripts");
    function init_scripts() {
      return true;
    }
    

    in functions.php.

    Hope it helps someone out there.