Support » Plugin: Gravity Forms Directory » Forms with conditional logic not working with directory on same page

  • Resolved rstoeber


    Forms do not display when I have a directory listing on the same page. (The only forms where we display a directory also include conditional logic, so it might be the conditional logic causing a problem.) I know this used to work because we have a dozen forms where we used this in the past. Unfortunately, nobody noticed when it broke so I can’t tell what versions we had before. I know WordPress itself was upgraded recently, not sure about the plugins.

    If I disable the directory plugin, the form works properly. As soon as I enable the directory plugin, I get the directory to display, but the form does not appear.

    WordPress 3.7.1
    Gravity Forms 1.7.11
    Gravity Forms Directory & Addons 3.4.3

    This is how the code appears on the page:

    [directory form=”22″ page_size=”0″ search=”false” entry=”false” entryonly=”true” entryanchor=”false” wpautop=”false” fulltext=”false” lightboxsettings=”images” titleshow=”false” showcount=”false” thead=”true” tfoot=”false” pagelinksshowall=”false” showrowids=”false” jssearch=”false” linkemail=”true” linkwebsite=”false” limituser=”false”]

    [gravityform id=”22″ name=”Berkeley Yacht Club (Lobster) Cruise” ajax=”true”]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Without further information I can’t replicate the same problem to be able to find a solution for it. A link to the site would be appreciated and if possible get them conditions you have to see if they could interfere somehow.


    The cause turned out to be an error in the file called gravity-forms-addons.php

    Around line 309 in that file I found the following:

    wp_enqueue_script(‘colorbox’, plugins_url( “/colorbox/jquery.colorbox-min.js”, __FILE__), array(‘jquery’));

    But that is wrong. The file is actually in the js directory, so it should be:

    wp_enqueue_script(‘colorbox’, plugins_url( “/colorbox/js/jquery.colorbox-min.js”, __FILE__), array(‘jquery’));

    After making that change everything started working properly again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Forms with conditional logic not working with directory on same page’ is closed to new replies.