Why am I getting an error message when submitting my custom form on Shopify?

Topic summary

Error al enviar un formulario personalizado en una página de Shopify: al hacer submit aparece “Please adjust the following:” pero sin detallar qué campo falla.

Detalles clave aportados:

  • Se comparte el código Liquid/HTML del formulario usando {% form ‘contact’ %} e include de ‘form-status’.
  • El formulario incluye campos estándar (nombre, email, teléfono, mensaje) y campos personalizados (Business Name, Website) además de un select para “Eligible Documents”.
  • En el código hay errores de marcado evidentes en los campos personalizados: los atributos name quedan sin cerrar y el input queda mal terminado (por ejemplo: name="contact[Business] … /> y name=“contact[Website] … />). También el select tiene comillas/atributo name incorrectos (name=Document[Type]”).

Respuestas y estado:

  • Se pide la URL para revisar, pero el sitio está en desarrollo y no es público.
  • Se sugiere “cambiar el código” con un snippet simplificado, sin explicar específicamente la causa raíz.
  • La conversación queda sin resolución confirmada; el problema probable apunta a HTML/Liquid mal formado que impide mostrar correctamente los errores.
Summarized with AI on February 26. AI used: gpt-5.2.

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 %}

{{ page.content }}
{% endif %}
{%- assign formId = 'ContactForm' -%} {% form 'contact', id: formId %} {% include 'form-status', form: form, form_id: formId %}
{{ 'contact.form.name' | t }}

{{ ‘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]">

Current Business License Resale or Tax Certificate Proof of current membership to Design Professional Organization

{% endform %}

2 Likes

@dph11

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

@KetanKumar Thanks! My site is in development stages and is not live yet. How can I show you?

Hi @dph11 ,

Please change code:


  

    

      

        # {{ page.title }}
      

      {% if page.content.size > 0 %}
      
        {{ page.content }}
      

      {% endif %}

      
        {%- assign formId = 'ContactForm' -%}
        {% form 'contact', id: formId %}
        {% include 'form-status', form: form, form_id: formId %}

        

          

            
            
          

          

            
            
            {%- if form.errors contains 'email' -%}
            
              {{ 'general.accessibility.error' | t }} 
              {% include 'icon-error' %}
              {{ form.errors.translated_fields['email'] | capitalize }} {{ form.errors.messages['email'] }}.
            
            {%- endif -%}
          

        

        
        
        
        
        
        
        
        
        
        
        
        {% endform %}
      

    

  

Hope it helps!