# How to avoid to add a row after submitting a form

**URL:** https://community.glideapps.com/t/how-to-avoid-to-add-a-row-after-submitting-a-form/63871
**Category:** Ask for Help
**Created:** [July 13, 2023, 3:08pm UTC](https://community.glideapps.com/t/how-to-avoid-to-add-a-row-after-submitting-a-form/63871 "2023-07-13T15:08:15Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [July 13, 2023, 3:24pm UTC](https://community.glideapps.com/t/how-to-avoid-to-add-a-row-after-submitting-a-form/63871/2 "2023-07-13T15:24:12Z")

</div>

You are approaching this the wrong way.  
You can’t prevent a row from being added when a form is submitted.

If you want to prevent duplicates, then the correct approach is to use a Custom Form. With that approach you can detect the duplicate _before_ the form is submitted.

> [@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…

---

_[View the full topic](https://community.glideapps.com/t/how-to-avoid-to-add-a-row-after-submitting-a-form/63871)._
