Hi All-
I have created a custom form on a Shopify page and when I submit it gives me “Please adjust the following:” there is no message on what the error is. Can anyone help with this?
Here is the code for the form:
{{ page.title }}
{% if page.content.size > 0 %}
{{ ‘contact.form.email’ | t }} *
<input
type=“email”
id=“{{ formId }}-email”
name=“contact[email]”
autocorrect=“off”
autocapitalize=“off”
value=“{% if form.email %}{{ form.email }}{% elsif customer %}{{ customer.email }}{% endif %}”
aria-required=“true”
{%- if form.errors contains ‘email’ -%}
class=“input–error”
aria-invalid=“true”
aria-describedby=“{{ formId }}-email-error”
{%- endif -%}
{%- if form.errors contains ‘email’ -%}
{{ ‘general.accessibility.error’ | t }}
{% include ‘icon-error’ %}
{{ form.errors.translated_fields[‘email’] | capitalize }} {{ form.errors.messages[‘email’] }}.
{%- endif -%}
Business Name*
<input
type=“text”
id=“contactformBusiness”
name="contact[Business]
/>
Website*
<input
type=“text”
id=“contactformWebsite”
name="contact[Website]
/>
{{ ‘contact.form.phone’ | t }}
{{ ‘contact.form.message’ | t }}*
{% if form.body %}{{ form.body }}{% endif %}Please select the document type from the pull-down menu and SUBMIT. To accelerate the process, please email eligible documents to: maryelizabeth.peterson@gmail.com.
<select id=“Eligible Documents” name=Document[Type]">
{% endform %}