# Parent and Child Table Relationship

**URL:** <https://community.glideapps.com/t/parent-and-child-table-relationship/67788>\
**Category:** Ask for Help\
**Created:** [November 14, 2023, 10:45am UTC](https://community.glideapps.com/t/parent-and-child-table-relationship/67788 "2023-11-14T10:45:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [November 14, 2023, 1:30pm UTC](https://community.glideapps.com/t/parent-and-child-table-relationship/67788/2 "2023-11-14T13:30:06Z")

</div>

Possibly…

Assuming you are using a native glide form, you could add an On Submit action that adds an extra row to the child table, but it will need to be a custom action, and it would need to check if a child row already exists for that supplier or not. That’s where it gets a little more complicated and fragile. I prefer using a custom form at that point. You would still need a custom action on a submit button with conditions to add rows to both tables or only one table depending on if a supplier row already exists in the child table.

> [@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/parent-and-child-table-relationship/67788)._
