# Remove duplicate error

**URL:** <https://community.glideapps.com/t/remove-duplicate-error/35030>\
**Category:** Ask for Help\
**Created:** [November 24, 2021, 9:16pm UTC](https://community.glideapps.com/t/remove-duplicate-error/35030 "2021-11-24T21:16:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![mzsadiek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mzsadiek/32/36021_2.png) [@mzsadiek](https://community.glideapps.com/u/mzsadiek)\
**Post date:** [November 24, 2021, 9:16pm UTC](https://community.glideapps.com/t/remove-duplicate-error/35030/1 "2021-11-24T21:16:14Z")

</div>

Hi,

There is one field, which has a different title in 2 cases. Depending on the choice of a dropdown, the title of the field is either A or B, but it’s the same field. This gives me this warning:

![Schermafbeelding 2021-11-24 om 22.14.40](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/8/9892d4485b8c9b016cc2b23dc3f0030e5d6348dd.png)

Is there no way to just get rid of the warning, as this is exactly how I want it?

---

<div class="post-metadata">

**Author:** ![Mozza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mozza/32/34362_2.png) [@Mozza](https://community.glideapps.com/u/Mozza)\
**Post date:** [November 24, 2021, 9:24pm UTC](https://community.glideapps.com/t/remove-duplicate-error/35030/2 "2021-11-24T21:24:49Z")

</div>

Hi.  
You can’t have two components writing to the same column on the same screen. You should handle it in your table with the IfThenElse column, for example, where Text entry Title will have different values depending on the choice column value.

---

<div class="post-metadata">

**Author:** ![V88](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/v88/32/90054_2.png) [@V88](https://community.glideapps.com/u/V88)\
**Post date:** [November 24, 2021, 9:29pm UTC](https://community.glideapps.com/t/remove-duplicate-error/35030/3 "2021-11-24T21:29:37Z")

</div>

I do this quite often, using visibility to only show one of the components. As long as you are aware of this it’s fine, but you will always see the warning.

---

<div class="post-metadata">

**Author:** ![Mozza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mozza/32/34362_2.png) [@Mozza](https://community.glideapps.com/u/Mozza)\
**Post date:** [November 24, 2021, 9:34pm UTC](https://community.glideapps.com/t/remove-duplicate-error/35030/4 "2021-11-24T21:34:41Z")

</div>

Hi @V88  
I believe it is the case with two components **reading** from the same “cell” but in @mzsadiek case, I think his Text Entry component is trying to **write** to the “cell”.  
Or maybe I’m wrong?

---

<div class="post-metadata">

**Author:** ![V88](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/v88/32/90054_2.png) [@V88](https://community.glideapps.com/u/V88)\
**Post date:** [November 24, 2021, 9:57pm UTC](https://community.glideapps.com/t/remove-duplicate-error/35030/5 "2021-11-24T21:57:32Z")

</div>

I “think” he means writing, and it will work fine, as long as you are aware, which I guess is why Glide display the error message. As an example, in some cases you may want to use two different component types to populate a field, using visibility to determine which to actually present for the “best fit”. It’s an edge case but it works.

---

<div class="post-metadata">

**Author:** ![Mozza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mozza/32/34362_2.png) [@Mozza](https://community.glideapps.com/u/Mozza)\
**Post date:** [November 24, 2021, 10:21pm UTC](https://community.glideapps.com/t/remove-duplicate-error/35030/6 "2021-11-24T22:21:12Z")

</div>

@V88 Ok. Didn’t know that. Never used it that way. Thx.  
Sorry for misleading you @mzsadiek.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [November 24, 2021, 10:21pm UTC](https://community.glideapps.com/t/remove-duplicate-error/35030/7 "2021-11-24T22:21:49Z")

</div>

> [@Mozza](#):
>
> You should handle it in your table with the IfThenElse column

This is the best solution. If it’s just the title that needs variation based on the condition, create an ITE column in the glide table and then the title should point to this column.

---

<div class="post-metadata">

**Author:** ![V88](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/v88/32/90054_2.png) [@V88](https://community.glideapps.com/u/V88)\
**Post date:** [November 24, 2021, 10:42pm UTC](https://community.glideapps.com/t/remove-duplicate-error/35030/8 "2021-11-24T22:42:30Z")

</div>

Not at all. Both ways work. Depends on use case.

---

<div class="post-metadata">

**Author:** ![mzsadiek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mzsadiek/32/36021_2.png) [@mzsadiek](https://community.glideapps.com/u/mzsadiek)\
**Post date:** [November 25, 2021, 9:57am UTC](https://community.glideapps.com/t/remove-duplicate-error/35030/9 "2021-11-25T09:57:40Z")

</div>

Thanks for the answers! I am not sure what you mean exactly by using the IfThenElse column. In what way should this resolve the issue?

---

<div class="post-metadata">

**Author:** ![Mozza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mozza/32/34362_2.png) [@Mozza](https://community.glideapps.com/u/Mozza)\
**Post date:** [November 25, 2021, 10:18am UTC](https://community.glideapps.com/t/remove-duplicate-error/35030/10 "2021-11-25T10:18:33Z")

</div>

Have you read about it? It might give you some insights and ideas.

> **[If → Then → Else Column](https://docs.glideapps.com/all/reference/data-editor/computed-columns/if-then-else)**
>
> Compute different values depending on other data in your sheet

In general, you should have one Text entry component that will change its title depending on a value in some other column (boolean or anything else). You just need to set title property of a component to the ITE column.
