Replies: 0
I’m using ultimate member with storefront theme and I have “When creating an account, automatically generate an account username for the customer based on their name, surname or email” option enabled.
I made a custom registration form with UM. Currently, it takes “first_name” and “last_name” field to generate an username. I’ve noticed that when I use special characters like “ą ę ó ż” etc. inside those fields, they will be missing in the generated username.
Registration worked fine without UM because it used email to generate username. When I switched to UM and made a form with “first_name” and “last_name”, it now uses them instead of email for generating username.
What can I do? Can I keep my registration forms and use email for username generation? Maybe I should use custom validation for “first_name” and “last_name” field to prevent users from inputting non supported characters?