Hidden field and validation error
-
I found a validation bug using the hidden field with an email address.
The field is used on a page where the user is logged in, so the field retrieve his email address:
[hidden your-email default:user_email]
Then this email address is set for reply in Additional Headers:
Reply-To: [your-email]Unfortunately I get a validation error telling me that “There are invalid mail header fields.”
The same form exists for guests with the following difference:
[email* your-email 32/64 default:user_email placeholder “hanako@mail.com”] in place of the hidden field.
I have no error with this form.Would it be possible for Contact Form 7 to treat a hidden field as a correct email address?
Thank you very much for your fantastic plugin.
The page I need help with: [log in to see the link]
- The topic ‘Hidden field and validation error’ is closed to new replies.