• Resolved lswest

    (@lswest)


    Until recently, everything was working fine. However, I received multiple notifications today that users could not complete the form because there was an error about incorrect entries.

    Looking at the form, it seems that the conditional fields (of which there are two groups, one for business addresses, and one for private residences) are expected to be filled out completely. Looking at the CF7 plugin source code, I can clearly see the PHP code that checks for validation errors and discards any originating from a hidden group, but Chrome and Firefox both still fail to send the form.

    There’s another issue from 1und1 that’s causing field data to not be parsed correctly – could this be the cause of the validation errors as well?

    Details:
    Wordpress 5.1.1 (Managed WordPress through 1und1.de)
    CF7 5.1.1
    CF7CF 1.4.1

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    can you share a link?

    Thread Starter lswest

    (@lswest)

    Sorry, I meant to update this post a few days ago. The problem is solved, and was linked to this error. Essentially, a must-use plugin from 1&1 caused Contact Form 7 to fail silently, so that no data was actually read from the form, which seems to have caused the issue with Conditional Fields.

    1&1 has since then disabled the plugin (I believe it was something along the lines of “cosy-addressbook”) and everything is working again now. As such, there’s not much you can do about it (save, perhaps, catch the error if Contact Form 7 returns data like [your-name]?).

    Thanks for responding!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Required hidden fields causing error’ is closed to new replies.