# How to add a new item to an inline list?

**URL:** <https://community.glideapps.com/t/how-to-add-a-new-item-to-an-inline-list/34872>\
**Category:** Ask for Help\
**Created:** [November 21, 2021, 6:02pm UTC](https://community.glideapps.com/t/how-to-add-a-new-item-to-an-inline-list/34872 "2021-11-21T18:02:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DarrenHumphries](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darrenhumphries/32/91715_2.png) [@DarrenHumphries](https://community.glideapps.com/u/DarrenHumphries)\
**Post date:** [November 21, 2021, 6:02pm UTC](https://community.glideapps.com/t/how-to-add-a-new-item-to-an-inline-list/34872/1 "2021-11-21T18:02:44Z")

</div>

I am stuck on this and have asked similar questions in the past but still stuck, so I thought I would give a bit more information.

In a CRM app I am building I have a list of Companies and when I click on the company record I go to the details screen for that company, as expected. On this details screen I have an inline list of contacts for that company (uses a relationship field to show for only that company) which works perfectly fine. See the image below:

 ![Screenshot 2021-11-21 12.49.09 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/d/cd06de4c0f71189a8490dc15e3d2e696fe8f9f93.png)

If this was a separate tab and was a list, of course I could have the ability to add a new contact but that would be an extra step I wanted to avoid. I have tried instead to use a button with a custom action to create a new contact.

I have used Add Row which works fine as I can have it populate the new contact with company name and the user info. But I can’t figure out a next step to view an input form to edit that new record. I have used the Show Details, Edit, Form and New but it doesn’t show the form for this new contact. The only option available is “This item” but it doesn’t show this newly added contact record, it shows the company record details from the company I was currently viewing.

Is there any way to use a button like this to create a new contact record and have the form show so I can enter the details for that new contact?

Thanks in advance for any help or advice.

Darren

---

<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:** [November 21, 2021, 8:38pm UTC](https://community.glideapps.com/t/how-to-add-a-new-item-to-an-inline-list/34872/2 "2021-11-21T20:38:33Z")

</div>

Any reason why you’re not using a form button to create a new contact? Typically what I do Is to use a form button to enter in some preliminary data about that contact and then the and submit action, visit the show edit screen for this item.

---

<div class="post-metadata">

**Author:** ![DarrenHumphries](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darrenhumphries/32/91715_2.png) [@DarrenHumphries](https://community.glideapps.com/u/DarrenHumphries)\
**Post date:** [November 21, 2021, 9:04pm UTC](https://community.glideapps.com/t/how-to-add-a-new-item-to-an-inline-list/34872/3 "2021-11-21T21:04:49Z")

</div>

Well damn, that was too easy.

I hadn’t thought about doing that and using the default content for each field. I can set the company name and record owner to be pulled from the current company name. Holy hell, how did I miss that??

Well, going to hide under my rock now. Bye!

(thank you, RP)

---

<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:** [November 21, 2021, 9:18pm UTC](https://community.glideapps.com/t/how-to-add-a-new-item-to-an-inline-list/34872/4 "2021-11-21T21:18:19Z")

</div>

Hey, that’s what we’re here for. There are so many ways to accomplish desired functionality in Glide. The forum is the place for us to help each other do it most efficiently 🙂

---

<div class="post-metadata">

**Author:** ![DarrenHumphries](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darrenhumphries/32/91715_2.png) [@DarrenHumphries](https://community.glideapps.com/u/DarrenHumphries)\
**Post date:** [November 21, 2021, 9:29pm UTC](https://community.glideapps.com/t/how-to-add-a-new-item-to-an-inline-list/34872/5 "2021-11-21T21:29:56Z")

</div>

🙂 Thanks, RP. You are always willing to help and do so with patience. Very cool of you!
