Adding custom fields in the registration page

On Marketplacekit, you can add your own custom fields on the registration page. You can add Member type, Phone Number, Company Name, etc. within the signup form.

To enable Member type(Role) in the registration page, you can see "How to enable role in the registration page?".

Besides member roles, you can also let users add other options within the signup form on the registration page.

Suppose you need to let your users enter their "Company Name" on the register page. To do this, first, log in to your panel. Then, click on "Addons", you will be redirected to a new page. There, click on "Settings" of "HTML & CSS Editor".


You will be redirected to the following page.


Click on "layouts/app.twig" to open the list of other twig files. Then, find "auth/register.twig" and click on it to open it in the editor.


In the editor, copy this code:

<div class="form-group">
 <label class="form-control-label" for="role">{{ __("Company") }}</label>
 <input class="form-control" type="text" name="filters[company]" required value="" />

and paste it inside the < form ></ form > tag. additional field on the form

The form on the registration page will look like this. company additional

The data entered on these additional fields are displayed on the user's page under "Filters". Filters