How to give a warning when this "text" is already in the database?

Hello, good afternoon, I’m trying to make that when the username is already in the database, give a warning that already exists.

Hey @gmorettosobral,

When you do the workflow to edit someone’s username, do a search in your database to make sure the new username they enter doesn’t contain one that already exists. And when the search does contain a username that already exists you can show an alert or make your custom alert using a group element

1 Like

Hi there -

You can easily do what johnny recommend up top. With that said, you can also let your users log in with their username, bypassing the need for an email. We have a tutorial for this at that you might be interested in. It speaks to how to allow a user to create a unique username, and then how to let users log in with those usernames.