SelfRegistration: Pre-fill username-field

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
the.star
Forum Members
Forum Members
Posts: 14
Joined: Thu Aug 07, 2008 9:10 am

SelfRegistration: Pre-fill username-field

Post 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
Last edited by the.star on Thu Aug 07, 2008 9:34 am, edited 1 time in total.
the.star
Forum Members
Forum Members
Posts: 14
Joined: Thu Aug 07, 2008 9:10 am

Re: SelfRegistration: Pre-fill username-field

Post by the.star »

does anybody know a solution?

thanks buddies.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: SelfRegistration: Pre-fill username-field

Post 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...
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: SelfRegistration: Pre-fill username-field

Post by Nullig »

Just make that input box hidden and add your own usercode, however you generate it.

Nullig
the.star
Forum Members
Forum Members
Posts: 14
Joined: Thu Aug 07, 2008 9:10 am

Re: SelfRegistration: Pre-fill username-field

Post 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.
Post Reply

Return to “Modules/Add-Ons”