Open ulitiy opened 9 years ago
http://doc.locomotivecms.com/guides/create-a-contact-form
{% if customer_message.errors %} will always be true, so that example is incorrect. It works only because of different success/error callbacks.
So the temporary solution is to use
{% capture err %}{{ customer_message.errors | first}}{% endcapture %} {% if err != "" %}
that doesn't seem right
http://doc.locomotivecms.com/guides/create-a-contact-form
{% if customer_message.errors %} will always be true, so that example is incorrect. It works only because of different success/error callbacks.