# Displaying items in a particular set, when that set is checked

**URL:** https://community.glideapps.com/t/displaying-items-in-a-particular-set-when-that-set-is-checked/16788
**Category:** Ask for Help
**Created:** [October 5, 2020, 7:59pm UTC](https://community.glideapps.com/t/displaying-items-in-a-particular-set-when-that-set-is-checked/16788 "2020-10-05T19:59:34Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![CurtisBeach](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curtisbeach/32/12590_2.png) [@CurtisBeach](https://community.glideapps.com/u/CurtisBeach)
#### Post date: [October 5, 2020, 7:59pm UTC](https://community.glideapps.com/t/displaying-items-in-a-particular-set-when-that-set-is-checked/16788/1 "2020-10-05T19:59:34Z")

</div>

Looking to display a list of recipes that 1) correspond to a particular cookbook and 2) are checked by the user to be displayed. Ultimately, the goal is for users to purchase a particular cookbook and get its recipes digitally displayed.

This seems very simple, but for some reason I can’t get it done. Please see pictures to see how I’m attempting this. Any thoughts on where I’m going wrong or how I can do it?

 ![Glide question](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/3/334ceb28a405cd3a16c253b5fc5b66b00646845d.png)

 ![Screen Shot 2020-10-05 at 3.52.44 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/f/fb843ebf000b69ad7897f8ae7e7d674527e61262.png)

---

<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: [October 5, 2020, 9:14pm UTC](https://community.glideapps.com/t/displaying-items-in-a-particular-set-when-that-set-is-checked/16788/2 "2020-10-05T21:14:48Z")

</div>

Will the purchasing of the cookbooks happen within the app using the buy button?

---

<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: [October 6, 2020, 1:17am UTC](https://community.glideapps.com/t/displaying-items-in-a-particular-set-when-that-set-is-checked/16788/3 "2020-10-06T01:17:06Z")

</div>

What are your settings for the relation?

---

<div class="post-metadata">

### Author: ![CurtisBeach](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curtisbeach/32/12590_2.png) [@CurtisBeach](https://community.glideapps.com/u/CurtisBeach)
#### Post date: [October 6, 2020, 3:39pm UTC](https://community.glideapps.com/t/displaying-items-in-a-particular-set-when-that-set-is-checked/16788/4 "2020-10-06T15:39:11Z")

</div>

@Robert_Petitto yes, that’s the goal. I’m just using the check boxes as a first step to seeing how it might work.

---

<div class="post-metadata">

### Author: ![CurtisBeach](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curtisbeach/32/12590_2.png) [@CurtisBeach](https://community.glideapps.com/u/CurtisBeach)
#### Post date: [October 6, 2020, 3:43pm UTC](https://community.glideapps.com/t/displaying-items-in-a-particular-set-when-that-set-is-checked/16788/5 "2020-10-06T15:43:11Z")

</div>

@ThinhDinh here are the settings in the relation, plus the sheet it’s pulling from

 ![Question 2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/3/35de381103c40366f7919ad81e313f0e4a3e4c61.png)

---

<div class="post-metadata">

### Author: ![CurtisBeach](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curtisbeach/32/12590_2.png) [@CurtisBeach](https://community.glideapps.com/u/CurtisBeach)
#### Post date: [October 7, 2020, 1:41pm UTC](https://community.glideapps.com/t/displaying-items-in-a-particular-set-when-that-set-is-checked/16788/6 "2020-10-07T13:41:43Z")

</div>

Found a solution - please let me know if there is a better way!

The key I found is to keep everything, the sets & their corresponding items, on the top row. In this case, Cookbook Uno / Uno Relation (the recipes) / Uno Boolean are all connected & Cookbook Dos / Dos Relation / Dos Boolean are also connected _all on the top row_.

Data

- Put each Cookbook (the set) on the top row
- Make the Recipes from each cookbook (the set items) into their own arrays, then turn those into relations - relation settings pictured
- Make separate booleans for each cookbook that live on the top row

Layout

- Make a list for each Cookbook or set you want, filter to display the one you want
- Make a list for each Recipe items that are displayed, each connected to a separate boolean.
- Set conditional visibility to show a Cookbook’s recipes if its particular boolean true (Show Dos Relation if Dos Boolean is true)

 ![Screen Shot 2020-10-07 at 9.32.44 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/2/232f3f4e740f802f6c85130d16bf0690e4fd6f63.jpeg)  
 ![Screen Shot 2020-10-07 at 9.21.45 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/d/dfa1ef5f497ddf273e99f9abb6e3e499a639fc04.png)  
 ![Screen Shot 2020-10-07 at 9.39.51 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/5/53c718792404ebbdc349a748124861934bd55326.png)
