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 stopped working

  1. mb
    Member

    Hello,

    The form is here:
    http://www.chouettescoquettes.com/rsvp/

    It is used on a page, with shortcode [gravityform id=1 name=Inscriptionà une activité description=false]

    In the EVENT field, when you select the option "Tour de l'Île d'Orléans 67 km - 13 août", two new fields should show up : one about carpooling and a phone number field. It doesn't work "live" and it doesn't work in the preview.

    One thing I noticed is that even though I have only 2 options in the EVENT field right now, a 3rd one shows up when I select the EVENT field in the conditional logic area of the Carpooling and Phone number fields. It's like there are two "Tour de l'île" opions, (even though I have just one) and they are written differently. You can see it here: http://www.chouettescoquettes.com/gravityhelp.jpg

    When I select the correct one (the one highlighted in image above), save and go back, it is the other one that has been saved. I'm thinking this is why it can't make the connection. I tried to uncheck the conditional option and tried over again. Only one "Tour de l'île" option showed up (the correct one). But after I saved, two showed up again and the incorrect one was again saved.

    How can I correct this error?

    p.s. BTW, In your French version (not sure I remember how I selected the French option), but anyway... instead of having the Any and All options in the conditional area, it says "Tous" and "Tout"... both words mean All, which is a bit confusing. "Any" should be "N'importe lequel"

    Posted 13 years ago on Monday May 9, 2011 | Permalink
  2. mb
    Member

    I should add it used to work OK. I haven't tried to add a conditional field in a few months, but it worked the last time I did. Also, I tried deactivating all my plugins and it didn't help.

    Posted 13 years ago on Monday May 9, 2011 | Permalink
  3. The reason why you are having the issue is most likely because you have made changes to the field the conditional logic is using, which is why 3 appear. The 2 selections and then the 3rd one being one of the original values. Select a different value for the conditional logic and then save your form.

    Posted 13 years ago on Tuesday May 10, 2011 | Permalink
  4. mb
    Member

    Yes, I had made a change, but that was a while back. I removed the incorrect one a long time ago and selected the correct one, but it doesn't work. Even if the one I deleted doesn't appear in the drop down menu in the events field... it reappears in the Conditional logic area. I don't select it, but it seems something happens in the backend and it keeps being used by the form... even if if doesn't even exist anymore in the form.

    Posted 13 years ago on Tuesday May 10, 2011 | Permalink
  5. mb
    Member

    I just tried to create a new form from scratch, with a new name. I did not make any change to the field the conditional logic is using. Still a duplicate of the name (written differently) appeared in the conditional logic. There is a bug here. Could it be caused by special caracters? Accents? Apostrophes?

    Posted 13 years ago on Tuesday May 10, 2011 | Permalink
  6. mb
    Member

    I found the problem. Conditional logic doesn't work when the field has 2 apostrophes in it... like in Tour de l'Île d'Orléans 67 km - 13 août

    When a field has 2 apostrophes, it creates a duplicate of the option in the conditional logic area, a duplicate that doesn't exist in the field. So it can't make the connection.

    You should be able to reproduce this error...
    I will remove an apostrophe for now.. or I see it works if I use the two different apostrophes : ’ '

    But it would be great if this could be corrrected.

    Posted 13 years ago on Tuesday May 10, 2011 | Permalink
  7. We can look into this, now that we know how to replicate the issue. Thanks for narrowing it down.

    Posted 13 years ago on Tuesday May 10, 2011 | Permalink