# "Add Item" form is the same across tabs

**URL:** <https://community.glideapps.com/t/add-item-form-is-the-same-across-tabs/32256>\
**Category:** Ask for Help\
**Created:** [September 24, 2021, 6:48am UTC](https://community.glideapps.com/t/add-item-form-is-the-same-across-tabs/32256 "2021-09-24T06:48:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dregar](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dregar/32/20035_2.png) [@dregar](https://community.glideapps.com/u/dregar)\
**Post date:** [September 24, 2021, 6:48am UTC](https://community.glideapps.com/t/add-item-form-is-the-same-across-tabs/32256/1 "2021-09-24T06:48:00Z")

</div>

I’m building a mentoring app. Basically, I have a column in the Users table to identify their role (Mentor or Mentee). Both Mentor and Mentee can arrange a mentoring session, which is a record in the Sessions table. Sessions table has columns like session\_date, mentor\_name, mentee\_name, session\_notes. Assume that Mentor-Mentee is one-to-many relationship.

Refer to the attached screenshot. I have 2 tabs for adding a mentoring session: one for Mentors and one for Mentees (only one tab is visible according to your role). The difference between the 2 tabs is the default values when adding a session. For example, if I’m a Mentee, my Mentor value is defaulted, so I don’t have to type anything.

The issue is the ‘add item’ form which appears when you click the + button. This form is replicated across the 2 tabs. In other words, I cannot configure this form so it has different default values depending on the tab. Is this the expected behavior or is this a bug?

 ![Screen Shot 2021-09-24 at 2.33.14 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/8/9870805f7bee8106426599c9fed7202551d9e52d.jpeg)

---

<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:** [September 24, 2021, 7:40am UTC](https://community.glideapps.com/t/add-item-form-is-the-same-across-tabs/32256/2 "2021-09-24T07:40:10Z")

</div>

Do both tabs refer to the same underlying sheet/table? Some layouts are deeply integrated to the sheet/table, so depending on your setup, I would say that it is expected behavior for the Add Form to be the same for both tabs.

There’s a handful of ways to approach it. If both tabs are tied to the same sheet, then I would personally only have a single tab instead of two. I never use the built in Add function. Instead, I usually use a details style layout with an inline list and a floating form button. You could have two different forms and continually show the correct form button based on the user role.

---

<div class="post-metadata">

**Author:** ![dregar](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dregar/32/20035_2.png) [@dregar](https://community.glideapps.com/u/dregar)\
**Post date:** [September 24, 2021, 10:06am UTC](https://community.glideapps.com/t/add-item-form-is-the-same-across-tabs/32256/3 "2021-09-24T10:06:51Z")

</div>

Hi Jeff,  
Thank you for your speedy reply and your suggested workaround – that works for me.

Yes, both tabs refer to the same underlying table. I have a different opinion about the Add Form. I made 2 tabs because I want Mentors and Mentees to have different list layouts. For example, Mentees are grouped by name, whereas Mentors are not (because of the one-to-many relationship). I’m able to implement these different layouts for the 2 tabs. So, if I’m able to do this, I would argue that I should be able to differentiate the Add Form for the 2 tabs too.

Do you know what is the best way to share my opinion to the Glide team?

---

<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:** [September 24, 2021, 10:20am UTC](https://community.glideapps.com/t/add-item-form-is-the-same-across-tabs/32256/4 "2021-09-24T10:20:29Z")

</div>

> [@dregar](#):
>
> Do you know what is the best way to share my opinion to the Glide team?

> **[Feature Requests](https://community.glideapps.com/c/feature-requests/9)**
>
> Suggest &amp; vote on new Glide features and functionality.

---

<div class="post-metadata">

**Author:** ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)\
**Post date:** [September 24, 2021, 10:39am UTC](https://community.glideapps.com/t/add-item-form-is-the-same-across-tabs/32256/5 "2021-09-24T10:39:32Z")

</div>

Hi @dregar 👋

I second Jeff. The native _Add Form_ seems to be integrated to the source sheet, so tabs (with list displays) with the same source sheet have the same _Add Form_. I see what you mean: because one has two tabs with the same underlying source sheet and yet one has displayed the information differently – different lists and options (filter, group, visibility) – one might expect the _Add Forms_ to also be adjustable. The way I remember that it isn’t so is that the list options (filter, group, visibility) only has a bearing on how the data is displayed, not on the data itself. The _Add Form_ is more of a data backend feature, whereas options are more frontend UI features.

By putting all of your components for your 2 roles in one single screen (tab), I believe you will need to adjust the _visibility_ options for each individual component. In a way, you are building two screens within one and using visibility on components to toggle between one and the other. I personally have gotten used to this approach and use visibility on components (more so than on tabs), as I like the idea of creating the layout of a screen within the confines of one single tab (instead of two versions of a screen). It’s only a question of perspective, I believe your approach to create 2 separate tabs would also work.

(For this reason, it would be practical to be able to save a component’s visibility settings to apply the same setting to other components 🙂 )

---

<div class="post-metadata">

**Author:** ![dregar](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dregar/32/20035_2.png) [@dregar](https://community.glideapps.com/u/dregar)\
**Post date:** [September 27, 2021, 1:26am UTC](https://community.glideapps.com/t/add-item-form-is-the-same-across-tabs/32256/6 "2021-09-27T01:26:24Z")

</div>

Hi @nathanaelb thank you for the taking the time to explain it. This community has been immensely helpful and responsive. I’ve only used Glide for \<1 month and I’m very encouraged to see the strong community here.
