Forums

Automatic Name as Username

galbur 25 Apr, 2013
Hi

Im still struggling around with a form (http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=89253). Thank you for all your help, Bob!

Within this "Form-Project" i have another question. I have the user Joomla Registration with The Random Password generator. So is it possible to set the "username" automatically with a hidden field?
For Example: email=username or name=username

I just want to make it as easy as possible for the user. Just fill out the Form with Name and E-Mail and behind the scene you get automatically an account with username and password. Just Activate the Link..

Best regards
Chris
GreyHead 25 Apr, 2013
Hi galbur,

Yes you can use the email - I've done that a few times. Just put the name of the email input into the username box.

Using the name is more difficult because there may be more than one 'John Smith' or 'Jean Le Gall' and you have to handle that. In one case I did this by removing spaces and adding a random string like johnsmith752 or jeanlegall836.

Bob
galbur 27 Apr, 2013
Hi Bob

Perfect! Thank you so much.

Chris
This topic is locked and no more replies can be posted.