Page 1 of 1

Autofill Username?

PostPosted: May 17th, 2011, 9:54 pm
by CrownOfMars
Hey guys,

Loving the plugin so far, i'm starting to get used to it but i'm having trouble with this.

When filling out a pro registration form, i'd like the email they enter to be their username also. So how would i go about auto filling the username input with the email?

Thanks.

Re: Autofill Username?

PostPosted: May 18th, 2011, 7:02 pm
by Jason Caldwell
Thanks for the great question.

So sorry. For various technical reasons, Usernames in WordPress cannot contain special characters like the @ sign. However, if you wanted to write some jQuery that would take the first part of the email address and use that to prefill the Username field, I suppose that would be OK.

Are you running s2Member (free), or s2Member Pro?

Re: Autofill Username?

PostPosted: May 18th, 2011, 8:51 pm
by CrownOfMars
Ahh i see, yeah i thought that may be a problem.

I'm using Pro. I'm not the greatest with Jquery but i'll have a look into it.

I just like the idea of having organized usernames.

Thanks for your response!