# How to create a 'hint' for when inline list is empty

**URL:** <https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267>\
**Category:** Ask for Help\
**Created:** [August 19, 2022, 7:45pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267 "2022-08-19T19:45:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [August 19, 2022, 7:45pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/1 "2022-08-19T19:45:41Z")

</div>

I have an inline list on my app that you can filter your matches with different selections. Is there a way to have a hint pop up when people have filtered out all of the options and the inline list is empty? Because it’s not in the database but a visual circumstance, i’m not sure how to make that work!  
Picture shows filters on the top half and the inline list of salons on the bottom half.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/c/5cd68a28bfe615c93103a503b444005eaf2d2ef7.jpeg)

---

<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:** [August 19, 2022, 10:17pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/2 "2022-08-19T22:17:16Z")

</div>

The only way to do that would be to create the filter in the data editor (using an if then else column) and use a relation from the if then else column to the data you want to display. If the relation is empty (no data found), then display a conditional hint text or image saying that there are no results.

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [August 22, 2022, 1:55pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/3 "2022-08-22T13:55:29Z")

</div>

Hi Robert! So I have a ton of filters that dictate what appears in the inline list. Do I need to create an IFTE that connects to all of the filters? Like: if every single one of them are empty, then true, and then create a filter on the front side that if the IFTE is true, show hint?

---

<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:** [August 22, 2022, 2:25pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/4 "2022-08-22T14:25:56Z")

</div>

Yes, you might need to depending upon what sort of user experience you’re looking for

---

<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:** [August 22, 2022, 2:28pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/5 "2022-08-22T14:28:36Z")

</div>

> [@Katelyn\_Alberts](#):
>
> So I have a ton of filters that dictate what appears in the inline list. Do I need to create an IFTE that connects to all of the filters? Like: if every single one of them are empty, then true, and then create a filter on the front side that if the IFTE is true, show hint?

The upside to this is that if you do it right, you might be able replace all those crazy filter conditions with a single condition that references your if-then-else column 😉

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [August 22, 2022, 3:28pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/6 "2022-08-22T15:28:53Z")

</div>

oh wait…what I said doesn’t make sense because it’s when people have too many filters checked off that the inline list doesn’t show any results…so it’s the opposite of the filters being empty. Can I create an IFTE that recognizes if the inline list is empty?

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [August 22, 2022, 3:29pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/7 "2022-08-22T15:29:25Z")

</div>

😂 😂 😂 Let’s not get too excited!!!

---

<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:** [August 22, 2022, 4:05pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/8 "2022-08-22T16:05:36Z")

</div>

If you are already using IFTE to set up your filters, and you have a final IFTE to establish an overall true or false value, then you should be able to use a rollup column somewhere to count the true values in that column. If the rollup count is zero, then display the hint.

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [August 22, 2022, 4:12pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/9 "2022-08-22T16:12:48Z")

</div>

So I don’t have a final IFTE in the database for it, I have the most insane filter data list 😅

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/c/5c5d6c823d6fa8a58783529287113a196c3b1902.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/9/091801cfb1f1232e32d41e82d64781368848c4c0.png)

That’s why I’m not sure if I can create a trigger from the database? lol I’m not sure if i can do something about this insanity, but this filter set up was the only thing I tried that worked exactly the way I wanted it to filter.

---

<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:** [August 22, 2022, 4:51pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/10 "2022-08-22T16:51:52Z")

</div>

Hehe, yeah, that’s a little insane. I think the only way to get a value that you can use for visibility is to move all of that visibility logic into the table. You might have to flip your head on backwards, because the IFTE column does not have AND logic like visibility does. So what you would have to do is think a little backwards, check that values are ‘NOT Included In’, and then return false. At the very end of the IF column, return true if it made it through all of those negative checks. Then you have a single true false value you can use for your visibility conditions.

Another much simpler option is to place a hint component at the bottom of the screen that says ‘End of Results’. It’s a valid hint regardless if you have a list of salons, or if the filters didn’t find any matches. If there are no matches, then the ‘End of Results’ hint will just roll up to the top of the screen.

---

<div class="post-metadata">

**Author:** ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)\
**Post date:** [August 22, 2022, 5:28pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/11 "2022-08-22T17:28:28Z")

</div>

I’d suggest a filtering screen like this one: [Glide app: Marketplace app with advanced filtering and notifications - YouTube](https://youtu.be/9f1sqwMpla4)  
You have to build it on the db instead of on the front end (as you have now).

Jeff’s solution is also a good way to achieve something similar quite fast/easy.

---

<div class="post-metadata">

**Author:** ![MattLB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mattlb/32/41284_2.png) [@MattLB](https://community.glideapps.com/u/MattLB)\
**Post date:** [August 22, 2022, 10:06pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/12 "2022-08-22T22:06:09Z")

</div>

Curiosity - you have numbers in brackets like “Additional [4]”, is this a column name or some feature of Glide that acts like a matrix/row index?

App looks cool too!

---

<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:** [August 23, 2022, 1:04am UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/13 "2022-08-23T01:04:54Z")

</div>

Nope, that’s a column name.

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [August 23, 2022, 1:55am UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/14 "2022-08-23T01:55:04Z")

</div>

Jeff I think you’re right and I just need “end of results” lol

The visibility of all of the different filter conditions was a BEAST to perfect. I’m already sweating thinking about trying to change it over!

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [August 23, 2022, 1:56am UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/15 "2022-08-23T01:56:00Z")

</div>

I’ll definitely check out this video, thanks Jesus!!

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [August 23, 2022, 1:57am UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/16 "2022-08-23T01:57:36Z")

</div>

It’s the Katelyn Matrix 😅

---

<div class="post-metadata">

**Author:** ![NFNHello](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nfnhello/32/3371_2.png) [@NFNHello](https://community.glideapps.com/u/NFNHello)\
**Post date:** [August 23, 2022, 2:12am UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/17 "2022-08-23T02:12:46Z")

</div>

> [@Jeff\_Hager](#):
>
> Hehe, yeah, that’s a little insane. I think the only way to get a value that you can use for visibility is to move all of that visibility logic into the table. You might have to flip your head on backwards, because the IFTE column does not have AND logic like visibility does. So what you would have to do is think a little backwards, check that values are ‘NOT Included In’, and then return false. At the very end of the IF column, return true if it made it through all of those negative checks. Then you have a single true false value you can use for your visibility conditions.
> 
> Another much simpler option is to place a hint component at the bottom of the screen that says ‘End of Results’. It’s a valid hint regardless if you have a list of salons, or if the filters didn’t find any matches. If there are no matches, then the ‘End of Results’ hint will just roll up to the top of the screen.

I’ve found that managing complicated visibility conditions on the backend/table is easier in the long run. @Jeff_Hager’s post is exactly how I would approach this.

---

<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:** [August 23, 2022, 2:15am UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/18 "2022-08-23T02:15:10Z")

</div>

> [@NFNHello](#):
>
> I’ve found that managing complicated visibility conditions on the backend/table is easier in the long run.

Exactly. Two visibility or filtering conditions is one too many 😉

---

<div class="post-metadata">

**Author:** ![Katelyn\_Alberts](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/katelyn_alberts/32/44421_2.png) [@Katelyn\_Alberts](https://community.glideapps.com/u/Katelyn_Alberts)\
**Post date:** [August 23, 2022, 12:42pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/19 "2022-08-23T12:42:55Z")

</div>

TWO is too many? I feel attacked lol

---

<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:** [August 23, 2022, 12:49pm UTC](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267/20 "2022-08-23T12:49:02Z")

</div>

hehe, I think @ThinhDinh has access to your app, yes?  
You should challenge him to reduce all your filters to a single condition. I’m sure he could do it 😉

[Next page](https://community.glideapps.com/t/how-to-create-a-hint-for-when-inline-list-is-empty/47267.md?page=2)
