Contact Form allowing existing user submission without throwing error

Contact Form allowing existing user submission without throwing error

vantha
Visitor
1 0 0


I'm using customer form with the "customer" form tag on my site, it seems like now using this form will not return an error even if an existing email is passed into the form?


 {% form 'customer' %}
{% endform %}

Before this i remember that it would redirect with an error string in the URL params, but it seems that now it would just allow the form to submit successfully. 

Am I missing something here or is it a Shopify bug?

Reply 1 (1)

Dotsquares
Shopify Partner
433 28 54

Hi @vantha 

 

Kindly check the error manually by going in the form.errors file

{% form 'customer' %}
{% if form.errors %}
<ul class="form-errors">
{% for field in form.errors %}
<li>{{ form.errors[field] }}</li>
{% endfor %}
</ul>
{% endif %}

{% if form.posted_successfully? %}
<p>Thank you! Your account has been created.</p>
{% endif %}
{% endform %}


If you are using the new Shopify customer account experience, that might be changing form behavior. Try disabling it to the classic flow and see if that brings back the error behavior.

Dotsquares Ltd


Problem Solved? ✔ Accept and Like solution to help future merchants.


Shopify Partner Directory | Trustpilot | Portfolio