I want to display address fields (to save in default billing address) in customer registration form. I know how to do in Magento 1. But I'm struck with Magento 2. Have anybody done this before ..?
Any xml file update like in magento 1,
<customer_account_create>
<reference name="customer_form_register">
<action method="setData"><key>show_address_fields</key><value>1</value></action>
</reference>
</customer_account_create>
Best Answer
Example display address fields using customer_account_create.xml: