Hello everyone,
Here is my login form :
{% form 'customer_login', novalidate: 'novalidate' %}
{% if form.password_needed %}
{% endif %}
{% endform %}
When the form is invalid, I would like to apply special treatment based on the email address which has been entered.
Problem : It seems I can’t access the form’s data.
I tried this, just to display the email address :
{% form 'customer_login', novalidate: 'novalidate' %}
...
{{ form.email | json }}
{% endform %}
But it displays null…
Do you know where I could be wrong ?
Thank you for your time ! ![]()