# Edit unique value in custom form

**URL:** https://community.glideapps.com/t/edit-unique-value-in-custom-form/36556
**Category:** Ask for Help
**Created:** [January 1, 2022, 10:20am UTC](https://community.glideapps.com/t/edit-unique-value-in-custom-form/36556 "2022-01-01T10:20:08Z")
**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: [January 1, 2022, 10:30am UTC](https://community.glideapps.com/t/edit-unique-value-in-custom-form/36556/2 "2022-01-01T10:30:21Z")

</div>

If you take a look at my [Custom Forms](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014) demo, it handles this (preventing duplicates on edit).

The trick is to set a column in a separate table with the name of the record being edited, then build an array which excludes that name, and then finally use that array to build a relation back to the source table.

---

_[View the full topic](https://community.glideapps.com/t/edit-unique-value-in-custom-form/36556)._
