# Avoid Duplicates on form submit

**URL:** <https://community.glideapps.com/t/avoid-duplicates-on-form-submit/61073>\
**Category:** Ask for Help\
**Created:** [April 27, 2023, 9:57pm UTC](https://community.glideapps.com/t/avoid-duplicates-on-form-submit/61073 "2023-04-27T21:57:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matty\_Fenny](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/matty_fenny/32/39419_2.png) [@Matty\_Fenny](https://community.glideapps.com/u/Matty_Fenny)\
**Post date:** [April 27, 2023, 9:57pm UTC](https://community.glideapps.com/t/avoid-duplicates-on-form-submit/61073/1 "2023-04-27T21:57:11Z")

</div>

Hi,

I’m looking for a way to cancel adding the row on form submit if there is already a row for the same thing existing. At the minute heres how it works.

The form consists of 3 Text Entries(Ill name the important one “Requests” for ease):

Name, “Request”, Notes.

If there is already a request in the table for “Request”, I don’t want it to add the row.  
I have created a List, and then a split list of “Requests”. I have then Checked if the Split list contains “Request”, cancel and show a fail notification.

Obviously this isn’t working as it is adding the row on Form Submit, then checking if that “Request” exists, which it now does, and then removes the row.

Any ideas?

Hopefully this was clear enough.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [April 27, 2023, 10:00pm UTC](https://community.glideapps.com/t/avoid-duplicates-on-form-submit/61073/2 "2023-04-27T22:00:45Z")

</div>

You might want to create a custom form to prevent duplicate new entries.

> [@How do I create a custom form?](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014):
>
> 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…
