• Resolved sherwin_flight

    (@sherwin_flight)


    I have a form set up that uses 50 conditional rules, with the last rule only recently added. With 49 rules I could edit and save the form as many times as I wish. Once I added rule 50 I saw the message about having to use text mode if I wanted to add more, but upon saving the form all of the conditional field settings are blank. If I switch to text mode before I save it works as expected.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sherwin_flight

    (@sherwin_flight)

    Actually, upon further inspection the issue seems to happen before saving.

    Steps to repeat:
    – Create a form with 50 conditional rules
    – Switch to form editor, edit something
    – Switch back to conditional rules, all rules are empty

    So something is happening to my rules when I edit the form itself, without even needing to click the save button.

    I know there is some JavaScript event attached to the form editor, because if I change the name of a conditional group in the form and switch back to the rule editor, that rule has been reset. Whatever code is doing that also seems to reset the rules if there are 50 conditional rules and you edit the form.

    Plugin Author Jules Colle

    (@jules-colle)

    It’s a known bug, but there’s an easy workaround: add 51 conditions.

    https://github.com/pwkip/contact-form-7-conditional-fields/issues/109

    Thread Starter sherwin_flight

    (@sherwin_flight)

    That solves my problem! Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Bug: Fields go blank if 50 conditions in use’ is closed to new replies.