show addres filds in new form magento 2

i have created a new form registration for customer and i want to show the address filds in the form i tried this code but nothing displayed. customer_account_create.xml :

<referenceBlock name="customer_form_register">         <action method="setShowAddressFields">             <argument name="show.address.fields" xsi:type="boolean">true</argument>         </action>     </referenceBlock> 

and when i replaced the if getshow address in my register2.phtml to setShowaddress(true) it tell me call getFrontalLabel() on null so how to show the address field and wha’s wrong with my code and thanks in advance