# Creating a list or relations inside a form

**URL:** https://community.glideapps.com/t/creating-a-list-or-relations-inside-a-form/57481
**Category:** Ask for Help
**Created:** [February 4, 2023, 12:12am UTC](https://community.glideapps.com/t/creating-a-list-or-relations-inside-a-form/57481 "2023-02-04T00:12:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hichn](https://avatars.discourse-cdn.com/v4/letter/h/59ef9b/32.png) [@hichn](https://community.glideapps.com/u/hichn)
#### Post date: [February 4, 2023, 12:12am UTC](https://community.glideapps.com/t/creating-a-list-or-relations-inside-a-form/57481/1 "2023-02-04T00:12:02Z")

</div>

Hello,  
i have 2 tables deckarations and actions  
I want to let the customer provide a list of actions (in grid view) when creating a new declaration(in the form itself) and so the actions will be linked to the declaration.  
the problem is i can’t find a way to create this link as i do not have the rowid of the declaration before it’s submitted.  
Is there a way to do that?  
thx

---

<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: [February 4, 2023, 11:32pm UTC](https://community.glideapps.com/t/creating-a-list-or-relations-inside-a-form/57481/3 "2023-02-04T23:32:58Z")

</div>

What I would do is use a custom form.

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

On entry to opening the form screen, set a " Unique Identifier" value to a column. That can become the link between your “declarations” and “actions”.

When you add a row for the declaration, make sure you get the “Unique Identifier” value in as a column. Same thing for actions. Then you can have a relation between those 2.
