# Users with same First Name/Last Name

**URL:** <https://forum.adalo.com/t/users-with-same-first-name-last-name/10032>\
**Category:** Database\
**Created:** [March 7, 2021, 9:06am UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032 "2021-03-07T09:06:31Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Florian](https://avatars.discourse-cdn.com/v4/letter/f/898d66/32.png) [@Florian](https://forum.adalo.com/u/Florian)\
**Post date:** [March 7, 2021, 9:06am UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032/1 "2021-03-07T09:06:31Z")

</div>

Hi!  
So on my Sign Up page users can insert their First/Last Names, a username, a phone number and a password. So their username and the phone number have to be unique, but their First/Last Name shouldn’t have to be. But now when a user has the name “John _Doe_” a user can’t sign up with the name “Jane _Doe_” and they get an error message. How can I let the Database have the same name for multiple times? Thank you!

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [March 7, 2021, 11:05am UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032/2 "2021-03-07T11:05:19Z")

</div>

Hi Florian,

This shouldn’t be the case, as the only thing which is checked for uniqueness is User Email (as far as I know).

Could you please provide more info - screenshots from the form set up, error message, or (best thing) a small video showcasing the problem?

Best regards, Victor.

---

<div class="post-metadata">

**Author:** ![Florian](https://avatars.discourse-cdn.com/v4/letter/f/898d66/32.png) [@Florian](https://forum.adalo.com/u/Florian)\
**Post date:** [March 7, 2021, 11:34am UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032/3 "2021-03-07T11:34:06Z")

</div>

Thank you for your response!  
That makes sense, because the error message says: User email already exists.

About the form: I made it myself, so I created Text Inputs that I connected to the Sign Up Button.  
 ![Sign Up](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/2/26193c3371fbbcf65bc37f26f9a20d99fa9f0846.png)  
I also don’t have an input for the User’s Email.

Best regards, Florian

---

<div class="post-metadata">

**Author:** ![Florian](https://avatars.discourse-cdn.com/v4/letter/f/898d66/32.png) [@Florian](https://forum.adalo.com/u/Florian)\
**Post date:** [March 8, 2021, 3:29pm UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032/4 "2021-03-08T15:29:36Z")

</div>

I still haven’t found a solution for this problem and I would really need one… Does anybody have any ideas?  
Best regards,  
Florian

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [March 9, 2021, 6:33pm UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032/5 "2021-03-09T18:33:16Z")

</div>

Hi @Florian,

So how do you sign up the user then?  
How do you fill in the fields (what is written in the action)?  
And, most important, where is the error message?

All this is needed to diagnose the problem and provide any meaningful help. Also, it would be great if you could film a short video showing the app setup and the real error case.

Best regards, Victor.

---

<div class="post-metadata">

**Author:** ![Florian](https://avatars.discourse-cdn.com/v4/letter/f/898d66/32.png) [@Florian](https://forum.adalo.com/u/Florian)\
**Post date:** [March 12, 2021, 5:37pm UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032/6 "2021-03-12T17:37:25Z")

</div>

Hi @Victor,

Sorry,  
here is a short video of the Sign Up Error:

[![](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/6/e/6eb723ed3abbece2e9a140d5e937bb42c4c865f4.jpeg "Sign Up Error") ](https://www.youtube.com/watch?v=47hHePA6p7s)

And here is the click action of the sign up button:

 ![Sign Up Button Action](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/1/11acf12651ecf6b5b23c5b28fca54336ee4f5887.png)

Please let me know if you need anything else to diagnose the problem. Thank you.

Best Regards,  
Florian

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [March 12, 2021, 6:11pm UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032/7 "2021-03-12T18:11:00Z")

</div>

Hi @Florian,

This becomes interesting 🙂  
Would it be possible for you to share the app (make it cloneable) so that I could clone it and have a look?

Best,  
Victor.

---

<div class="post-metadata">

**Author:** ![Florian](https://avatars.discourse-cdn.com/v4/letter/f/898d66/32.png) [@Florian](https://forum.adalo.com/u/Florian)\
**Post date:** [March 12, 2021, 6:24pm UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032/8 "2021-03-12T18:24:26Z")

</div>

Hi,

Here’s the link:  
[https://previewer.adalo.com/839e053b-4e21-4f2f-949e-e082da981da8](https://previewer.adalo.com/839e053b-4e21-4f2f-949e-e082da981da8)

Best regards,  
Florian

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [March 12, 2021, 6:49pm UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032/9 "2021-03-12T18:49:21Z")

</div>

Hi @Florian,

As I see, you’ve renamed the field “Email” (original name) to the field “First name”.  
But from Adalo backend perspective this field has remained an “email” field, **which is checked for uniqueness**.  
So you get a result that if you have “John Doe” account, “John Smith” couldn’t be registered.

I would suggest return back the “Email” name to the original field, and create another extra fields to store First name and Last name.

Also, it is a good practice to ask user email upon signup, as **it is the only field checked for uniqueness automatically**. As a consequence, user can be **uniquely** identified by the value in “email” field. And you will need this in the app.

Best regards, Victor.

---

<div class="post-metadata">

**Author:** ![Florian](https://avatars.discourse-cdn.com/v4/letter/f/898d66/32.png) [@Florian](https://forum.adalo.com/u/Florian)\
**Post date:** [March 12, 2021, 7:24pm UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032/10 "2021-03-12T19:24:57Z")

</div>

That’s it! Thank you so much! It works now.

Best Regards,  
Florian

---

<div class="post-metadata">

**Author:** ![Florian](https://avatars.discourse-cdn.com/v4/letter/f/898d66/32.png) [@Florian](https://forum.adalo.com/u/Florian)\
**Post date:** [March 12, 2021, 7:38pm UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032/11 "2021-03-12T19:38:19Z")

</div>

Hi,

Sorry, just one follow-up question: How could I then also make the Username and Phone Number unique? Would that only be possible in a “nomal” form and not a custom-made one?

Best regards,  
Florian

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [March 12, 2021, 7:45pm UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032/12 "2021-03-12T19:45:08Z")

</div>

Hi @Florian,

There is no built-in ways in Adalo to check the uniqueness of the value of some Collection property. You need to implement the checks by yourself.  
I did a tutorial some time ago: [Adalo hints: how to prevent from creating duplicate records in the collection (UPDATED with 2nd video)](https://forum.adalo.com/t/adalo-hints-how-to-prevent-from-creating-duplicate-records-in-the-collection-updated-with-2nd-video/5475)

Best regards, Victor.

---

<div class="post-metadata">

**Author:** ![Florian](https://avatars.discourse-cdn.com/v4/letter/f/898d66/32.png) [@Florian](https://forum.adalo.com/u/Florian)\
**Post date:** [March 12, 2021, 7:46pm UTC](https://forum.adalo.com/t/users-with-same-first-name-last-name/10032/13 "2021-03-12T19:46:10Z")

</div>

Okay, thank you very much!
