Automatically assigning a username Answered

Post author
Jack Ellis

Quick question! I've mentioned this previously in the chat, but I'm building a social media type website. I'm using this memberscript (https://www.memberstack.com/scripts/72-validate-original-values) to validate original usernames during the onboarding process. My question is how can I automatically assign the user's a username if the back out/exit one of the steps of the onboarding process? This is significant to onboarding a user because on the website you can not edit your username once a profile has been created and the profile's slug is determined based on the username choice.

The usernames to look like anything! I would just think either a random string of numerical characters but if i had my pick it would be more like a randomized word string like how some leaderboards show people's identities
 
Thanks for the help in advance!

Comments

3 comments

  • Comment author
    Julian Galluzzo

    do you use make.com?

    If so, im thinking just make a scenario which any time a new member is created, it generates 'user' and then a string of random numbers and updates the member

    0
  • Comment author
    Jack Ellis

    Yup, using make. That's probably the best solution I guess. Just was curious if anyone had any other methods! Thanks!

    0
  • Comment author
    Julian Galluzzo

    Nothing else comes to mind! No problem 🙂

    0

Please sign in to leave a comment.