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
{{ message }}
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.
When the user generates an error with the contact form, the user's data that they attempted to submit isn't inserted back into the form. The data from the "contact[body]" is.
Replication steps
Submit the form with the email field blank.
More Information
I've fixed this by changing value="{% if form[phone] %}{{ form[phone] }}{% elsif customer %}{{ customer.phone }}{% endif %}"
to value="{% if form.phone %}{{ form.phone }}{% elsif customer %}{{ customer.phone }}{% endif %}"
However, I don't know if this will break anything else.
The text was updated successfully, but these errors were encountered:
Problem
When the user generates an error with the contact form, the user's data that they attempted to submit isn't inserted back into the form. The data from the "contact[body]" is.
Replication steps
Submit the form with the email field blank.
More Information
I've fixed this by changing
value="{% if form[phone] %}{{ form[phone] }}{% elsif customer %}{{ customer.phone }}{% endif %}"
to
value="{% if form.phone %}{{ form.phone }}{% elsif customer %}{{ customer.phone }}{% endif %}"
However, I don't know if this will break anything else.
The text was updated successfully, but these errors were encountered: