https://discord.umbraco.com logo
#help-with-umbraco
Extending Membership in Umbraco 13
# help-with-umbraco
t

tigerman0377

02/01/2024, 6:12 PM
Hi guys I have a brand new Umbraco 13 installed and running. I would like to add more fields/properties to the members section so they could be filled out by a user wanting to register. Example: The member area already has a username and password. I would like to add an address field and a country field. The requirement here is the country field needs to be populated with countries so it can be displayed in the public version of the site (once a View is created) but also needs to be in the admin section (so if a customer calls up the admin team would create an account for them over the phone using the back admin section). Once the details are entered upon saving the record I need to send these details as Json to a third party service. I'm not sure how to override the Save functionality to take the additional action? All the examples I've seen are in Umbraco 7 but I was hoping someone could kindly give me some starter code/steps for this? Thank you
p

ProBot ✨

02/01/2024, 6:12 PM
@User May I suggest “Umbracians” instead of "guys"? We use gender inclusive language in this Discord. 😀
a

ais6192

02/01/2024, 9:50 PM
The only site i have access to right now has uSkinned theme on it so not sure if it's the same in plain Umbraco but in Settings > Member Types > Members you can add new fields. AFAIR these then appear automatically in the Members area. Not sure about a registration form though off the top of my head, can have a look tomorrow.
t

tigerman0377

02/02/2024, 5:23 PM
@ais6192 thank you, I was able to add fields but I just need some starting code on how to access these fields in C# and what I need to inject into the constructor?
2 Views