By canajun on
I have searched the forums for a solution to my problem, but no luck..
I want to force the username to be drawn from the firstname and lastname fields, and define the username as firstname.lastname
I am guessing a javascript function could do this, but how do I incorporate it into the Drupal create account form?
Yes, I have added these extra fields to my registration form!
Comments
This is exactly what I am
This is exactly what I am looking for...
same requirement, needs help
http://drupal.org/project/generate_username
Generate Username
Hi,
I'm working on Drupal7 and i need to generate user name based on the user entered Firstname and Lastname in the registration page.
How is going your work on the Generate username module? I'm a noob and i'm trying to understand the Drupal7 API and also if this change is a complicate one, in case it is than maybe i'll choose to do it in the not automatic way: user will register with a username like he wants, than when the admin is going to aprove his registration he will manualy change his username in the format FirstName-LastName.
Thanks in advance, any comment will means a lot to me.:)