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 and adding values

  1. n8woods
    Member

    I have created a booking form, that is heavily reliant on conditional logic. I am using the hide if. everything was working fine until today some of the form elements were appearing when they should have been hid. When I looked at the logic I had set up the values had changed to values that were not even in the forms. For example I have an initial menu selection: A, B or C, the logic was to hide the form if A or C were chosen, now all of the sudden, the one logic to hide if C was now hide if D, and D was never in the menu selection. I hope this makes sense.

    Posted 13 years ago on Friday June 17, 2011 | Permalink
  2. n8woods
    Member

    these are the versions I am using:
    PHP Version 5.2.6
    MySQL Version 5.0.45
    WordPress Version 3.1.3
    Gravity Forms Version 1.5.2.3

    Posted 13 years ago on Friday June 17, 2011 | Permalink
  3. It sounds like you setup conditional logic and then changed your form and changed the field values. You need to make sure if you change field values in a drop down/radio button/checkbox field that you also update any conditional logic that relies on those values.

    Conditional logic values don't dynamically update when you make changes to a field, they are static. So if you remove a value from a drop down, you need to make sure you update any conditional logic that uses that value. It sounds like this is what is going on.

    Posted 13 years ago on Friday June 17, 2011 | Permalink
  4. n8woods
    Member

    Carl, thank you, I feel like such an idiot, that was the problem, I changed the value name,

    thank man,

    have a great day

    Posted 13 years ago on Friday June 17, 2011 | Permalink