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 Ignored

  1. mrsix
    Member

    The form I successfully tested 2 days prior to doing the most recent update now has many issues after the update. Most of which I corrected myself by reading through some of the other posts here but there is one that is really frustrating me.

    I have a checkbox that is ignoring all attempts to hide or show regardless of which other field it's tied to or the criteria. This form was completely functional prior to the latest update.

    My client is all over me here as it's preventing their launch. Please advise.

    Posted 12 years ago on Thursday May 3, 2012 | Permalink
  2. mrsix
    Member

    Interestingly enough, I just went back to the form and was hoping I missed something when I realized what the issue is. The pre-checked check boxes are checked on the form builder side but not on the front end form. Regardless of being checked or not, the setting isn't making it out to the actual form.

    Posted 12 years ago on Thursday May 3, 2012 | Permalink
  3. This is a tricky issue. I know exactly what is causing it and why it is happening. Unfortunately right now I do not have a solution for you to be able to do this using the latest version of Gravity Forms. It's going to require us to take a look at this scenario and then see what we need to do to update the Gravity Forms conditional logic to support it.

    The reason why this is no longer working is due to changes we made to the conditional logic functionality so that hiding fields was recursive. So that when a field is hidden, it also hides any fields that it may have then triggered being displayed on your form. It does this by resetting the value of a field when it's hidden by conditional logic which triggers the same thing to happen to fields that were using that field for conditional logic.

    This change was done to fix this scenario:

    - You have a form with 3 fields on it: Field A, Field B and Field C
    - Field A is displayed but not selected
    - Field B displays when Field A is selected
    - Field C displays when Field B is selected
    - The user views the form and selects Field A which shows Field B
    - The user then selects Field B which shows Field C
    - The user then unselects Field A which hides Field B
    - Field C is still displayed because while Field B was hidden, it is still technically selected so it didn't trigger hiding Field C

    It's a complex issue. The change we implemented corrected this issue. But unfortunately it also means that when fields are hidden by conditional logic like this have default items selected the way you do... they get reset.

    As I mentioned above, this is something we are going to have to look into so we can see how to best handle this. It's very complex functionality. We will see what we can do to resolve it. It's going to be something that we'll have to address via a Gravity Forms version update.

    Posted 12 years ago on Thursday May 3, 2012 | Permalink
  4. mrsix
    Member

    Please send me instructions on rolling back to an earlier version of Gravity forms if possible. This issues puts a HUGE road block in the way.

    Posted 12 years ago on Thursday May 3, 2012 | Permalink
  5. Shoot me an email to rob@rocketgenius.com and I'll send you v1.6.3.3.4 to use. Please reference this post in the email.

    Posted 12 years ago on Thursday May 3, 2012 | Permalink