• USD
  • Dutch
How to Add Custom Field to Magento 2 Registration Form?

If you are searching for ‘Magento 2 registration form custom fields’, then you are at the right place. In this article, we will discuss everything there is to know about the Magento registration form and how to add a custom field to it. Although customising the registration form is a must-have feature, Magento Open Source doesn’t offer it currently. Therefore, you have no option but to use an extension.

Custom Registration Field Extension for Magento 2 allows the admin to add new custom fields on user sign-up form. Default fields in Magento 2 user registration form are name, password and email. Now if the admin needs to know about the customer’s contact number, gender, location etc, then an extension is the best tool to collect such information by adding new custom fields to the user sign-up form.

Why Create a Magento 2 Custom Registration Form?

You may think that the default form is more than enough. However, given the ever-increasing competition in eCommerce, personalising the user experience for the target audience is now a necessity. When we talk about personalisation, most people equate it with marketing and the products. What needs to be realised is that the entire customer journey requires personalisation. This includes the registration stage.

Here’s how adding custom fields to Magento 2 registration form can prove beneficial:

Greater Customer Data Collection

We are living in an age where data is the new oil. The more data a company has, the more ways it can find to serve the customers. Suppose that the registration form asks for information such as date of birth and interests. The store owner can use the information from DoB to offer discounts and other promotions on a customer’s big day. Imagine getting a lucrative discount on your birthday. Such a gesture will make anyone happy and convert them into a lifelong loyal customer.

Targeted Promotion

Similarly, a store can use information obtained from the interests’ field to create personalised content for the user. Imagine getting a discount for a product or service that you have considerable interest in and have been wanting to buy it for a long time. Surely, such a strategy compels customers to reward the store with greater loyalty and positive word of mouth.

Customer Segmentation

Suppose you are targeting Market A. What you need to realise is that the entire Market A does not share same interests. Instead, there are further segments in each market. By collecting additional information during the registration stage, store owners can identify key market segments. They can use the information to create separate pricing and marketing strategies for each segment. Based on our experience as a leading Magento extensions company, this is the top reason merchants customise the Magento registration form.

Improved Decision-Making

Lastly, with more information at their disposal, store owners can make much more informed decisions. This ensures there is little guess work in any decision. This can go a long way in benefiting all the concerned stakeholders.

custom-registration-field

Custom Registration Fields

The Magento 2 Custom Registration Fields extension lets you add extra fields to your registration form to gather valuable customer information, helping you understand preferences, needs, and meet legal requirements.

How to Add Custom Fields to Magento 2 Registration Form?

In order to add new custom fields to the user registration form, follow these steps:

First of all, download & install Magento 2 Custom Registration Fields Extension by FME.

  • Now, Login to your Magento 2 Admin Panel and navigate to FME Extensions
  • Add New Custom Registration Fields
add-custom-fields-to-magento-2-registration-form
  • Click on Add New Field or edit an existing custom registration form field.
add-new-custom-fields-to-magento-2-registration-form

Now, Select in Properties Tab:

  • Default Label - Set the Field Label
  • Input Type - Select Custom Field Type

Select from 13 available custom field types to add in your registration form

  • Text Field
  • Text Area
  • File upload
  • Image upload
  • Date
  • Drop Down
  • Multiple Select
  • Yes/No option
  • Radio
  • Checkboxes
  • Text Editor
  • Audio Upload
  • Video Upload

Now in Properties Tab, Set the following:

  • Values Required - Make Field Mandatory or Optional. While creating a new field, you can specify if you need to make any field optional or mandatory
  • Attribute Code – Add a unique attribute code
  • Default Value - Set a default value for each custom field
  • Input Validations – Set Input validations for fields in order to collect data in correct format
  • Show in Email – Add custom fields data in invoice emails
  • Store Views – Restrict custom fields to specific store views
  • Customer Groups – Restrict custom fields to specific customer groups
add-new-custom-fields-to-magento-2-registration-form-3

Note: You can also set values for Checkboxes, radio buttons etc.

Now Open the Manage Labels Tab

  • You have the option to set the different labels for different store views.

Now Open StoreFront Properties

  • Enabled – Enable/Disable the custom registration field
  • Shown On – You have the option to display the custom field on registration form, user account section or show in both
  • Position – Select where you want to position this field in registration form
  • Notice/Comments – Enter additional information for the custom field
  • Hide Field – You can hide a specific custom registration field
  • Editable by Customers – You can authorize the customers to edit the entered data
add-new-custom-fields-to-magento-2-registration-form-4

Now Click Dependable Properties

This extension also enables you to create conditional fields. Make sure you create a proper parent/child dependable fields and try to display the dependable field next to the parent field in order to avoid any visual issue.

add-new-custom-fields-to-magento-2-registration-form-5

Save & Publish - The field shall be visible on frontend.

Magento 2 Custom Registration Form with Newly Added Custom Fields

magento-2-add-custom-registration-form-fields

Customers can view data in Additional Fields tab in their Account Section.

magento-2-registration-fields-in-customer-account-section

Final Thoughts on Magento 2 Registration Form Custom Fields

In this article, we have discussed everything there is to know about custom fields in Magento 2 registration form. If you need any help, feel free to contact our support team.

Article recommended for you:

This blog was created with FME's SEO-friendly blog