# Determine if row exists in a table

**URL:** https://community.glideapps.com/t/determine-if-row-exists-in-a-table/35491
**Category:** Ask for Help
**Created:** [December 3, 2021, 9:27pm UTC](https://community.glideapps.com/t/determine-if-row-exists-in-a-table/35491 "2021-12-03T21:27:50Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [December 4, 2021, 12:42am UTC](https://community.glideapps.com/t/determine-if-row-exists-in-a-table/35491/2 "2021-12-04T00:42:32Z")

</div>

We would need more screenshots from you to know how you are setting it up.

Normally, if I want to check if a value is duplicated or not, I use a custom form, then create a relation from the input field to the list of existing values. If the relation is not empty, that means there’s a duplicate and we should not allow a form submission.

> [@How do I create a custom form?](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014/1):
>
> I’m just dropping this here so I have something to refer people to when they ask. This is a simple concept app (copyable), that demonstrates the following techniques: Building custom forms for adding and editing list items (as an alternative to the native forms provided by Glide) Preventing duplicate new entries using [User Specific Columns](https://docs.glideapps.com/all/reference/data-editor/user-specific-columns) and [Relations](https://docs.glideapps.com/all/reference/data-editor/computed-columns/relation-column) Enforcing mandatory input items The use of visibility conditions and user specific booleans to control user flow There is nothing particula…

---

_[View the full topic](https://community.glideapps.com/t/determine-if-row-exists-in-a-table/35491)._
