Custom Fields in Form Registration Doesn't Catch Data

Hi,

I’m planning to add more fields in my registration form like - address, contact, zip (and many more if I get these three to work)
The fields do show in the front end, but it does not catch data from the fields that I added when I check in the customer records.

I hope someone can help me. I’ve been stuck with this problem for days. I’ve read several threads/ posts and tried it but nothing seems to work.


          {% form 'create_customer' %}

            {{ form.errors | default_errors }}

            
            

            
            

            
            

            
            
          
            
            
          
            
            

            
            

            
            

            

              
            

          {% endform %}
        

@johnny04 hii you using the Shopify customer object same filed available from the customer object address you cant access in-store font after customer login that filed can be access to add it

try this code it will work.


    {% form 'create_customer' %}

      {{ form.errors | default_errors }}

      
      

      
      

      
      
    
      
      
    
      
      

      
      

      
      

      

        
      

    {% endform %}
  

1 Like

Hi @johnny04

Aibek is here from Speedimize.io

We noticed that you use the name in input like this:

customer[zip]

Shopify doesn’t understand such data, so it’s better to use it as a note.
Try using it as in the example below:


You can find all the custom fields here - https://shopify.dev/tutorials/customize-theme-get-more-information-with-customer-registration-form

1 Like

I tried this but there doesn’t seem to be any changes. The only fields that it records when I export the csv are the names, and emails. Address, zip, and phone data was not fetched.

This worked with fetching data. Thanks