I want to add an extra field on the customer registration form and its value must be saved in database after its subimission. How can I do that?
Magento 2.2.0 – How to Add Custom Input Field in Customer Registration Form
custom-fieldcustomermagento2.2.0
Best Answer
You need to create a module and here is installData.php
Note : If you apply this script in existing module than, First you need to remove your module from Setup table from DB than run below commands to make it work.