Please Log in or Create an account to join the conversation.
rogerbodger wrote: Hello,
My client has a requirement to automatically generate a username at registration time. The username needs to be generated in a particular format, there is some flexibility to the format but inclusion of the date (yyyymmdd) is a must. My thinking is to either generate the username field before displaying the registration form (and prohibit editing of username), or to hide the username field and generate after registration form submission. Can someone either point me to where I can code this myself, or confirm if an addon will do this for me.
I've seen other posts suggesting that the incubator addon CB Auto Actions might be an option, although those other posts are for different requirements (for example generate a random username) and information about the plugin is limited ahead of purchasing professional membership (which I'm happy to do if the plugin will definitely meet my needs).
Thanks in advance,
Roger
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
mhs_cb wrote: This is exactly what I'm looking for. Except I simply want to generate 10 random digits as the username.
Can someone be so kind as to give me a the PHP code that will alter the POST of username to 10 randomly generated digits?
Please Log in or Create an account to join the conversation.