Hey. I’m building a form for people to join our customer database but it’s not pulling all the data into a customer field.
First Name and City are not working.
{%- for block in section.blocks -%}
{%- case block.type -%}
{%- when '@app' -%}
{% render block %}
{%- when 'heading' -%}
## {{ block.settings.heading | escape }}
{%- when 'paragraph' -%}
{{ block.settings.text }}
{%- when 'email_form' -%}
{% form 'customer', class: 'newsletter-form' %}
{%- if form.errors -%}
<small>{% render 'icon-error' %}{{ form.errors.translated_fields['email'] | capitalize }} {{ form.errors.messages['email'] }}</small>
{%- endif -%}
{%- if form.posted_successfully? -%}
### {% render 'icon-success' %}Thanks for joining kindred!
{%- endif -%}
{% endform %}
{%- endcase -%}
{%- endfor -%}
