This is such a simple thing, but I cannot get it right.
I would like to add an extra text field that is mandatory when a customer creates/edits his address. (Stand Number as this is applicable to a security estate and each address has a unique stand number 4 digits – text value to be safe)
Creating the field is easy.
What should I enter in “Settings”?
Page is equal to checkout [If its a new customer that is the first place he can enter the field)
Page is equal to My Account
To create the custom field for the customer registration form you can assign a role that is equal to the customer from the rules setting. This will not create a custom field in the my-account register form. For this, you will need another plugin as ACF adds that custom field for editing the user page in the backend.