# How to avoid duplicate user names

**URL:** <https://forum.bubble.io/t/how-to-avoid-duplicate-user-names/138770>\
**Category:** Need help\
**Created:** [March 1, 2021, 12:47am UTC](https://forum.bubble.io/t/how-to-avoid-duplicate-user-names/138770 "2021-03-01T00:47:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramzizi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ramzizi/32/176232_2.png) [@ramzizi](https://forum.bubble.io/u/ramzizi)\
**Post date:** [March 1, 2021, 12:47am UTC](https://forum.bubble.io/t/how-to-avoid-duplicate-user-names/138770/1 "2021-03-01T00:47:56Z")

</div>

I’m trying to avoid having a certain user field be shared by multiple users. I set this condition, however, the condition only catches it if the value has the same exact capitalization. I.e., there can be a user name Edward and another user name edward. I want to make sure that the condition will catch it regardless of the capitalization

Is there a better way to avoid duplicates?

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/7/f7372c78e9c38f5e4fe2f7d58e2e562facf70620.png)

---

<div class="post-metadata">

**Author:** ![mikeloc](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mikeloc/32/93001_2.png) [@mikeloc](https://forum.bubble.io/u/mikeloc)\
**Post date:** [March 1, 2021, 1:30am UTC](https://forum.bubble.io/t/how-to-avoid-duplicate-user-names/138770/2 "2021-03-01T01:30:43Z")

</div>

Hi there, @ramzizi… this thread can probably help you out…

> [@Why oh why am I unable to search the DB case insensitive?](http://forum.bubble.io/t/why-oh-why-am-i-unable-to-search-the-db-case-insensitive/57477):
>
> @Bubble, I want to search for a value using “Do a search for” case insensitive. Since “Do a search for” requires a value, and it seems it’s case sensitive, it’s unable to find all potential values with the same characters. Let’s say I have a Data type with a Company Name field and Microsoft already exists. When someone else tries to add a new record with the same Company Name I want to disallow submission. So I want to ensure that all variations of case that a user types into an input field (“…

Best…  
Mike

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 10, 2021, 12:48am UTC](https://forum.bubble.io/t/how-to-avoid-duplicate-user-names/138770/3 "2021-05-10T00:48:23Z")

</div>

Closed on May 10, 2021, 12:48am UTC

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