# Add item to linked list when no items are in relational list

**URL:** <https://community.glideapps.com/t/add-item-to-linked-list-when-no-items-are-in-relational-list/35430>\
**Category:** Ask for Help\
**Created:** [December 2, 2021, 9:01pm UTC](https://community.glideapps.com/t/add-item-to-linked-list-when-no-items-are-in-relational-list/35430 "2021-12-02T21:01:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)\
**Post date:** [December 2, 2021, 9:01pm UTC](https://community.glideapps.com/t/add-item-to-linked-list-when-no-items-are-in-relational-list/35430/1 "2021-12-02T21:01:50Z")

</div>

I have a linked list linked with a relation column to the main list. If I have entered linked data, it will show “1 item, 2 items”, etc. But if there are no linked items, it shows nothing – no way to get to the entry screen to add a new linked item.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [December 2, 2021, 9:19pm UTC](https://community.glideapps.com/t/add-item-to-linked-list-when-no-items-are-in-relational-list/35430/2 "2021-12-02T21:19:07Z")

</div>

You’ll need to perhaps add a form button on that screen that says “add list item” and add a visibility condition to show when the relation is empty?

---

<div class="post-metadata">

**Author:** ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)\
**Post date:** [December 3, 2021, 3:58am UTC](https://community.glideapps.com/t/add-item-to-linked-list-when-no-items-are-in-relational-list/35430/3 "2021-12-03T03:58:25Z")

</div>

That seems to work to a point. It adds a row, but all with defaulted values AND I am having another requirement. I don’t want them to have to manually tie the things together. I would like the Row ID of the main list to automatically populate to the added row. In addition, I’d like them to be able to edit certain columns of the added row BEFORE it’s added. Cannot seem to do either of those things.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [December 3, 2021, 4:21am UTC](https://community.glideapps.com/t/add-item-to-linked-list-when-no-items-are-in-relational-list/35430/4 "2021-12-03T04:21:46Z")

</div>

Use screen columns to fill in contextual data automatically (old layout, but same concept):

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/b/0b49756af48c908a53a7e47f0cbf2c0457d0de6b.jpeg "Working with Column Values - Glide Tutorial") ](https://www.youtube.com/watch?v=2XEf6BVYciA)

---

<div class="post-metadata">

**Author:** ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)\
**Post date:** [December 3, 2021, 5:40am UTC](https://community.glideapps.com/t/add-item-to-linked-list-when-no-items-are-in-relational-list/35430/5 "2021-12-03T05:40:42Z")

</div>

Well, again, when I use the ADD ROW, and select all the default values, it puts the correct Row ID in there, but I want the user to be able to EDIT the row before insertion, because, although I can default to the current date/time and user EMAIL, and ROW ID, I need them to be able to put some kind of (in the example you chose) Feedback. ADD ROW does not get me there, and if I select “Add Form” as the action, it takes me to the form where it lists ALL the items, and the user has to select the ADD (+) from there. How can I get directly to the “+” with the defaulted values already plugged in (and perhaps not even visible)?

---

<div class="post-metadata">

**Author:** ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)\
**Post date:** [December 3, 2021, 5:41am UTC](https://community.glideapps.com/t/add-item-to-linked-list-when-no-items-are-in-relational-list/35430/6 "2021-12-03T05:41:28Z")

</div>

It would help if they would update their help videos to the current release…

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [December 3, 2021, 5:57am UTC](https://community.glideapps.com/t/add-item-to-linked-list-when-no-items-are-in-relational-list/35430/7 "2021-12-03T05:57:43Z")

</div>

I guess I don’t understand what you’re trying to accomplish.

It sounds to me that you’re on a screen of some parent category (let’s say Screen A) and on Screen A you want a list of child items (A1, A2, A3 etc.) that reside in a different table but are linked via a relation (using the row ID of Screen A?). This list of child items also has some other data that you want your users to enter prior to the creation of the list item.

Is this correct?

---

<div class="post-metadata">

**Author:** ![ShantanuIyengar](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/shantanuiyengar/32/35546_2.png) [@ShantanuIyengar](https://community.glideapps.com/u/ShantanuIyengar)\
**Post date:** [December 3, 2021, 6:02am UTC](https://community.glideapps.com/t/add-item-to-linked-list-when-no-items-are-in-relational-list/35430/8 "2021-12-03T06:02:16Z")

</div>

@David_Gabler  
I think what you mean is that you want to use default value’s in the form button.  
Those are available for number as well as the text columns as per recent update.

---

<div class="post-metadata">

**Author:** ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)\
**Post date:** [December 3, 2021, 10:06am UTC](https://community.glideapps.com/t/add-item-to-linked-list-when-no-items-are-in-relational-list/35430/9 "2021-12-03T10:06:57Z")

</div>

That’s absolutely correct. In the future I may want them to enter more than one additional piece of information but right now I can autofill the date and the user ID and the real ID and there’s only one other piece of information I really need them to key in or supply.
