When enabled, no matter what email address we enter in the email fields, we always get the validation message “Email is invalid” (or similar). It never goes through. When we disable the email confirmation option, the filter works like a charm.
Can you guys please verify this as well and provide a modified filter that works when the Email form field option, “Enable Email Confirmation”, is enabled? Updating your documentation would be great as well.
When the confirmation feature is enabled, $value is an array containing the values of both inputs, so to access the email address you’ll need to change:
Thanks, Richard! Worked like a charm. But then again, you knew that, right?
PS: It would be awesome if you could update the affected documentation (e.g., add a note below the affected filter) to reflect your solution. Will help others.