You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an incorrect email is entered in the input field such as test@test the browser validation accepts it but the form does not get sent. In the logs I get:
[warning] [application] Craft\ContactFormModel->fromEmail failed validation: Your Email is not a valid email address.
but the form error is not shown when using:
{% macro errorList(errors) %}
{% if errors %}
<ul class="errors">
{% for error in errors %}
<li>{{ error }}</li>
{% endfor %}
</ul>
{% endif %}
{% endmacro %}
The text was updated successfully, but these errors were encountered:
It'll be in the next release, or you can modify your composer.json to "craftcms/contact-form": "v2.x-dev as 2.2.2" to have it start pulling from the latest commit in the meantime.
Hi Guys,
If an incorrect email is entered in the input field such as
test@test
the browser validation accepts it but the form does not get sent. In the logs I get:[warning] [application] Craft\ContactFormModel->fromEmail failed validation: Your Email is not a valid email address.
but the form error is not shown when using:
The text was updated successfully, but these errors were encountered: