# Button Disappear

**URL:** <https://community.glideapps.com/t/button-disappear/79738>\
**Category:** Ask for Help\
**Created:** [February 3, 2025, 3:16am UTC](https://community.glideapps.com/t/button-disappear/79738 "2025-02-03T03:16:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Smarthome\_Support](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/smarthome_support/32/84553_2.png) [@Smarthome\_Support](https://community.glideapps.com/u/Smarthome_Support)\
**Post date:** [February 3, 2025, 3:16am UTC](https://community.glideapps.com/t/button-disappear/79738/1 "2025-02-03T03:16:20Z")

</div>

Sorry I’m new to Glide, there some way can the button disappear after set the 2 column? like choose 2 product to compare and the button will disappear

 ![สกรีนช็อต 2025-02-03 101541](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/f/6fb2ce350459b37119a8cef449c3082b107a1b3a.png)

---

<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:** [February 3, 2025, 3:22am UTC](https://community.glideapps.com/t/button-disappear/79738/2 "2025-02-03T03:22:03Z")

</div>

What is the action on the button?

Essentially you need to use the button actions to change a value in the database that can subsequently be used to drive a visibility condition or condition on the button action.

---

<div class="post-metadata">

**Author:** ![Smarthome\_Support](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/smarthome_support/32/84553_2.png) [@Smarthome\_Support](https://community.glideapps.com/u/Smarthome_Support)\
**Post date:** [February 3, 2025, 3:23am UTC](https://community.glideapps.com/t/button-disappear/79738/3 "2025-02-03T03:23:26Z")

</div>

![สกรีนช็อต 2025-02-03 102254](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/8/986ed8d3eac80cb93f32253bba7ae4b24c92d17b.png)  
I use add the row to the table

---

<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:** [February 3, 2025, 3:24am UTC](https://community.glideapps.com/t/button-disappear/79738/4 "2025-02-03T03:24:44Z")

</div>

So once two rows have been added, you want all the buttons to disappear?

---

<div class="post-metadata">

**Author:** ![Smarthome\_Support](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/smarthome_support/32/84553_2.png) [@Smarthome\_Support](https://community.glideapps.com/u/Smarthome_Support)\
**Post date:** [February 3, 2025, 3:29am UTC](https://community.glideapps.com/t/button-disappear/79738/5 "2025-02-03T03:29:23Z")

</div>

Yes because i just want to compare only 2 not more than that

---

<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:** [February 3, 2025, 4:26am UTC](https://community.glideapps.com/t/button-disappear/79738/6 "2025-02-03T04:26:21Z")

</div>

Okay, so what you can do is create a rollup column that counts the number of rows in your Compare Product table. Then set a visibility condition on your buttons such that they are only visible when the count is less than two.

That said, I’m fairly confident that this isn’t the right solution for your use case. For example, what do you expect to happen if multiple people are doing this at the same time? And what if a user changes their mind after making a selection? Or wants to make another comparison?

What I’m getting at here is that adding rows to a table is probably not the best approach. But I’ve just answered your question directly.

---

<div class="post-metadata">

**Author:** ![Smarthome\_Support](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/smarthome_support/32/84553_2.png) [@Smarthome\_Support](https://community.glideapps.com/u/Smarthome_Support)\
**Post date:** [February 3, 2025, 4:35am UTC](https://community.glideapps.com/t/button-disappear/79738/7 "2025-02-03T04:35:56Z")

</div>

Sorry, I’ have try and there some problem

1. the source is Spec table not Compare table
2. i just add the action button in the collection with source from Spec and add row to Compare  
So the visible condition is can not use is this case  
 ![สกรีนช็อต 2025-02-03 113245](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/f/5f029b9188da848a159cae782494f5a5dea0c49a.png)  
 ![สกรีนช็อต 2025-02-03 113254](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/9/f9cb3bb2a6a1fb22c3945ac076979ff197017f07.png)

---

<div class="post-metadata">

**Author:** ![Smarthome\_Support](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/smarthome_support/32/84553_2.png) [@Smarthome\_Support](https://community.glideapps.com/u/Smarthome_Support)\
**Post date:** [February 3, 2025, 4:37am UTC](https://community.glideapps.com/t/button-disappear/79738/8 "2025-02-03T04:37:36Z")

</div>

and I want to know if have multiple user in same time have the table will add from all user or only one by one

---

<div class="post-metadata">

**Author:** ![schrutefarms](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/schrutefarms/32/59686_2.png) [@schrutefarms](https://community.glideapps.com/u/schrutefarms)\
**Post date:** [February 3, 2025, 8:03am UTC](https://community.glideapps.com/t/button-disappear/79738/9 "2025-02-03T08:03:24Z")

</div>

I think if you look into using a Helper table in combination with User Specific Columns you would be able to build a solution that works better than this. Perhaps these resources can help you:

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/5/45341fe992c2c539efb50c92c97c4dd9cd359718.jpeg "Helper Tables | Glide App Tutorial") ](https://www.youtube.com/watch?v=IlQnfK9sISk)

> [@How would you describe a helper table?](https://community.glideapps.com/t/how-would-you-describe-a-helper-table/54497/2):
>
> I use Helper Tables all the time. Most of my Glide Projects are littered with them. They have many uses, here are just a few examples: Reusable Custom Forms This is one I learned from @Jeff_Hager. The usual way to create a custom form is with a “Show Detail Screen → this item” action. This gives you a new details screen on your current row with a blank canvas, on which you then build out your form. However, another way to do this is by using a single row Helper Table. You create a Helper Table…

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/a/3abebdf995aef9255401ac4b08f33738dae2e39f.jpeg "Unlock Personalized Data with User Specific Columns | Glide App Tutorial") ](https://www.youtube.com/watch?v=PK5eovZGne0)

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/0/40c56070734f2e68e110eacb4e3edd9dc4379b01.jpeg "Glide 101: Row Owners vs. User Specific Columns") ](https://www.youtube.com/watch?v=sclFwC6eov8)

---

<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, 2025, 1:41am UTC](https://community.glideapps.com/t/button-disappear/79738/10 "2025-02-04T01:41:08Z")

</div>

I agree, I would just use a helper table with two choice components writing to two user-specific columns, and do lookups for comparison, perhaps.
