Page 1 of 1
SelfRegistration: Pre-fill username-field
Posted: Thu Aug 07, 2008 9:24 am
by the.star
Dear all
Is there a way to pre-fill the field "username"? We want to use pre-defined numbers.
Thank you very much.
Cheers
the.star
Re: SelfRegistration: Pre-fill username-field
Posted: Mon Aug 11, 2008 8:49 am
by the.star
does anybody know a solution?
thanks buddies.
Re: SelfRegistration: Pre-fill username-field
Posted: Mon Aug 11, 2008 8:18 pm
by Dr.CSS
There may be a way but it will always have the same thing in the box and will not stop any one from adding anything...
Re: SelfRegistration: Pre-fill username-field
Posted: Mon Aug 11, 2008 9:19 pm
by Nullig
Just make that input box hidden and add your own usercode, however you generate it.
Nullig
Re: SelfRegistration: Pre-fill username-field
Posted: Tue Aug 12, 2008 1:35 pm
by the.star
Mark, Nullig
thanks for your replies.
I already thought about hiding the field with CSS and filling it with a JavaScript function as we don't want to change the original code, so we can still update the module easily.
We want our members to have consecutive numbers instead of usernames that's why a function has to check the db for the last no.
thanks again for your input.