PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

conditional logic causes bug

  1. pauldewouters
    Member

    Hi,
    I tested this in version 1.4 and Version 1.5.rc3.4

    I have a form with conditional logic on 2 dropdown fields.
    The form is in a text widget as a shortcode and appears in a modal window.

    when the page loads there is a javascript error :

    Firebug's log limit has been reached. 0 entries not shown.		Preferences
    gf_apply_rules is not defined
    [Break On This Error] </div><script type='te...11: [11]}, 'animation' : 0};</script>

    if I remove the logic, the error disappears, but the submit doesn't work??
    if I use a simple form, it works fine.

    I really need to get this working as it is a requirement on a client project

    the site is : http://sandbox.sideradesign.com/about/

    I can also provide the form XML export

    thanks

    Posted 9 years ago on Wednesday January 12, 2011 | Permalink
  2. Hi Paul,

    It looks like the the form scripts are not being enqueued. For instructions on how to do so, see this page (specifically at the bottom):

    http://www.gravityhelp.com/documentation/embedding-a-form/

    Posted 9 years ago on Wednesday January 12, 2011 | Permalink
  3. pauldewouters
    Member

    wow cool, that seems to work now!

    thanks -

    Posted 9 years ago on Wednesday January 12, 2011 | Permalink