How to prevent a new user from using a username already present in the database

Hello everyone,

If a new user is signing up for the first time, and there is an option to create a username, how do I create a condition that if the username already exists in the USER database, the user gets a message that the username is already taken.

I see bubble already takes care of the email section and there cannot be more than one same email.

1 Like

Is there a specific reason you’re using the concept of a username instead of using the user’s email address?

You can add a condition to the workflow with the following logic:

Do a search for user, where username = username input’s value :count = 0.


Thanks a lot. It worked! Simple and beautiful logic!!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.