Add new field to user detail page

Hello, I’d like to add a custom user field, make it mandatory and put it on user detail page (I mean
not user registration page and not account management console, I’ve read the documentation
but it doesn’t cover the user detail page), to permit admins to add a user and give a value to that field.
I tried modifying the user-detail.html page: the field appears but it’s value is not saved.
Could anyone give me an example / direction / right documentation to read ?
Thank you
Marco

1 Like

For anyone interested: I’ve found a great and working example here
The example is about putting specific user attribute fields on user-detail page; they make it
mandatory it seems I need to write a SPI
Marco

1 Like

I want to change the attribute to the field, but I don’t know how to do it .