# Decision tree

**URL:** <https://community.glideapps.com/t/decision-tree/8848>\
**Category:** Ask for Help\
**Created:** [May 10, 2020, 10:56am UTC](https://community.glideapps.com/t/decision-tree/8848 "2020-05-10T10:56:17Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liesbeth\_Mol](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/liesbeth_mol/32/6470_2.png) [@Liesbeth\_Mol](https://community.glideapps.com/u/Liesbeth_Mol)\
**Post date:** [May 10, 2020, 10:56am UTC](https://community.glideapps.com/t/decision-tree/8848/1 "2020-05-10T10:56:17Z")

</div>

I want to make an app for my children at school to help them with the writing of verbs. In class I use a decision tree for that purpose. Is it possible to make an app from that? I tried the if/then function, but I can’t manage it well. Can anyone help me to make a start?

 ![Stroomschema ww voor wisbordje (1)](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/7/7e6baa229541e06eb86d99aadf193a3ef7615382.jpeg)

---

<div class="post-metadata">

**Author:** ![Wiz.Wazeer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wiz.wazeer/32/72423_2.png) [@Wiz.Wazeer](https://community.glideapps.com/u/Wiz.Wazeer)\
**Post date:** [May 10, 2020, 11:56am UTC](https://community.glideapps.com/t/decision-tree/8848/2 "2020-05-10T11:56:59Z")

</div>

Hi Liesbeth. Do you also want the diagram “as is” displayed for the children in the app ?

---

<div class="post-metadata">

**Author:** ![Liesbeth\_Mol](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/liesbeth_mol/32/6470_2.png) [@Liesbeth\_Mol](https://community.glideapps.com/u/Liesbeth_Mol)\
**Post date:** [May 10, 2020, 12:02pm UTC](https://community.glideapps.com/t/decision-tree/8848/3 "2020-05-10T12:02:33Z")

</div>

No, that is not the idea.

---

<div class="post-metadata">

**Author:** ![Wiz.Wazeer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wiz.wazeer/32/72423_2.png) [@Wiz.Wazeer](https://community.glideapps.com/u/Wiz.Wazeer)\
**Post date:** [May 10, 2020, 12:06pm UTC](https://community.glideapps.com/t/decision-tree/8848/4 "2020-05-10T12:06:39Z")

</div>

Im thinking 🤔 how best to navigate the maze to other side. Let me get back to you. But it’s possible. As it’s for children, don’t want to add too many components that would confuse them. Let me see if I can Simplify the navigation. I’ll be back. Tx

---

<div class="post-metadata">

**Author:** ![Wiz.Wazeer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wiz.wazeer/32/72423_2.png) [@Wiz.Wazeer](https://community.glideapps.com/u/Wiz.Wazeer)\
**Post date:** [May 10, 2020, 12:23pm UTC](https://community.glideapps.com/t/decision-tree/8848/5 "2020-05-10T12:23:06Z")

</div>

Would you be fine with each word appearing as a tile which when tapped opens anothe tile (similar to paging) ?

---

<div class="post-metadata">

**Author:** ![Liesbeth\_Mol](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/liesbeth_mol/32/6470_2.png) [@Liesbeth\_Mol](https://community.glideapps.com/u/Liesbeth_Mol)\
**Post date:** [May 10, 2020, 12:47pm UTC](https://community.glideapps.com/t/decision-tree/8848/6 "2020-05-10T12:47:07Z")

</div>

I think so…

 ![20200510_144533](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/9/92ee05240fd85761afa47b0018f8d95f692fb158.jpeg)

---

<div class="post-metadata">

**Author:** ![Wiz.Wazeer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wiz.wazeer/32/72423_2.png) [@Wiz.Wazeer](https://community.glideapps.com/u/Wiz.Wazeer)\
**Post date:** [May 10, 2020, 1:31pm UTC](https://community.glideapps.com/t/decision-tree/8848/7 "2020-05-10T13:31:13Z")

</div>

This would simplify things for the children. You could create several different tiles on your computer and then upload them as tiles and use them basically as buttons to open another page where there might be two further tiles and so forth. This way children find the whole experience entertaining and your tree technique remains unchanged.

There is an app I would recommend. It’s jeffs concepts app. Let me find you the link. I’m Not suggesting you will find your exact solution as This is for children so you don’t want to deploy paging wholesale, but you could use the app as a guide and it’s rich in examples.

I would say create word tiles and turn them into windows/branches which on tap open further windows with explanations.

Tx.

---

<div class="post-metadata">

**Author:** ![Wiz.Wazeer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wiz.wazeer/32/72423_2.png) [@Wiz.Wazeer](https://community.glideapps.com/u/Wiz.Wazeer)\
**Post date:** [May 10, 2020, 1:36pm UTC](https://community.glideapps.com/t/decision-tree/8848/8 "2020-05-10T13:36:41Z")

</div>

> **[Concepts](https://concepts.glideapp.io/)**
>
> Made with Glide from a Google Sheet, without writing any code.

---

<div class="post-metadata">

**Author:** ![Liesbeth\_Mol](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/liesbeth_mol/32/6470_2.png) [@Liesbeth\_Mol](https://community.glideapps.com/u/Liesbeth_Mol)\
**Post date:** [May 10, 2020, 1:45pm UTC](https://community.glideapps.com/t/decision-tree/8848/9 "2020-05-10T13:45:07Z")

</div>

Thank you verry much, I appreciate your help! I love to puzzle with the possibilities you gave me!

---

<div class="post-metadata">

**Author:** ![Wiz.Wazeer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/wiz.wazeer/32/72423_2.png) [@Wiz.Wazeer](https://community.glideapps.com/u/Wiz.Wazeer)\
**Post date:** [May 10, 2020, 1:46pm UTC](https://community.glideapps.com/t/decision-tree/8848/10 "2020-05-10T13:46:22Z")

</div>

If you experience difficulties get back and I’ll see what I can do for you.  
Tx

---

<div class="post-metadata">

**Author:** ![spencersRus](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spencersrus/32/69_2.png) [@spencersRus](https://community.glideapps.com/u/spencersRus)\
**Post date:** [May 11, 2020, 1:26pm UTC](https://community.glideapps.com/t/decision-tree/8848/11 "2020-05-11T13:26:33Z")

</div>

This may or may not help, but I have a simple choice machine that finds a card. #MAGIC!

[gmwnn.glideapp.io](http://gmwnn.glideapp.io)

(right now I am just experimenting and it is only for FACE cards (JQKA)

Just thought it may be another way to make binary decisions.

It is copy-able but only has ONE line of ‘code’

Also, it is public so if two are on at the same time it could be a problem.

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [May 11, 2020, 2:17pm UTC](https://community.glideapps.com/t/decision-tree/8848/12 "2020-05-11T14:17:05Z")

</div>

Hi @Liesbeth_Mol

It looks like a Dynamic Choices using Relations, you can see my demo as guide and use it if this is useful for you. [https://dynchoices.glideapp.io](https://dynchoices.glideapp.io)

Saludos

---

<div class="post-metadata">

**Author:** ![spencersRus](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/spencersrus/32/69_2.png) [@spencersRus](https://community.glideapps.com/u/spencersRus)\
**Post date:** [May 19, 2020, 11:55pm UTC](https://community.glideapps.com/t/decision-tree/8848/13 "2020-05-19T23:55:46Z")

</div>

Again, not sure if it will help here but I have been playing around with ‘binary’ decision making…

[https://pickacard.glideapp.io/](https://pickacard.glideapp.io/)

See the app here (public, so there may be a couple on at a time.)

---

<div class="post-metadata">

**Author:** ![Maryth\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maryth_r/32/13091_2.png) [@Maryth\_R](https://community.glideapps.com/u/Maryth_R)\
**Post date:** [October 16, 2020, 11:52pm UTC](https://community.glideapps.com/t/decision-tree/8848/14 "2020-10-16T23:52:46Z")

</div>

I need help creating something like this too.

Mine depends on Yes or No.  
then if Yes is chosen, a specific inline list is shown with its specific filters for that subject,  
then another set of Yes or No comes next, and so on.

Inline List Question for Yes/No?  
Inline List Answer info for Yes1  
Inline List Question for Yes/No?  
Inline List Answer info for No1  
Inline list Question for Yes/No?  
Inline List Answer info for Yes2  
Inline list Question for Yes/No?  
Inline List Answer info for No2

and so on, there are about 20 Layers of Subjects/Steps/Questions that the person will answer.  
So, it ideally would go through pretty quickly.

I have spent a good amount of hours doing this. I wonder if there is another way, a faster way for me to get it done.

The tree decision style makes it easy for busy people to follow up accordingly and eventually they will fill out the entire form without realizing the number of steps that took to complete. It is a more breeze way of doing a long form, I completely understand why it would help a lot with an app for children.

I hope there is some way to do this faster.

---

<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 17, 2020, 12:05am UTC](https://community.glideapps.com/t/decision-tree/8848/15 "2020-10-17T00:05:22Z")

</div>

Can’t think of a way not to use a lot of visibility conditions, as it’s the nature of your form as I understand. 20 layers is a lot but it’s just a matter of time before you get there.

---

<div class="post-metadata">

**Author:** ![Maryth\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maryth_r/32/13091_2.png) [@Maryth\_R](https://community.glideapps.com/u/Maryth_R)\
**Post date:** [October 17, 2020, 12:34am UTC](https://community.glideapps.com/t/decision-tree/8848/16 "2020-10-17T00:34:07Z")

</div>

Hi ThinhDinh!  
I hope everything is going well!

This yes/no situation I am doing it little by little with lots of visibility filters in each inline list.

A little bit slow but it is only a yes or no option, so it should not take forever just few more days.

Btw, your help with the code for clearing the rows worked like a charm!!! I use it everyday! 😃

---

<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 17, 2020, 1:30am UTC](https://community.glideapps.com/t/decision-tree/8848/17 "2020-10-17T01:30:10Z")

</div>

Hey that’s great to hear!

Not sure if it helps your case, but I built a form with progress bars that you can copy back here.

> [@Available for copy: Newest form choice, progress bars & joined texts concept](https://community.glideapps.com/t/available-for-copy-newest-form-choice-progress-bars-joined-texts-concept/14799):
>
> Hi guys, as I work with my latest apps, I discovered some tricks that may help with your app design, so I thought it would be nice to share. App link: [https://interesting-history-7076.glideapp.io/](https://interesting-history-7076.glideapp.io/) 1/Filtered form choice Very recently, it seems Glide has added support for filtering choices within a form, so in this concept app I applied it to two cases: Filter a choice based on a previous choice in the same screen: You can find in the car choice that the car model will be filtered based on t…

Take care and hopefully things are going well over there.

---

<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:** [October 17, 2020, 7:17am UTC](https://community.glideapps.com/t/decision-tree/8848/18 "2020-10-17T07:17:09Z")

</div>

I would maybe follow the logic here.

[https://docs.glideapps.com/all/guides/deep-dives/design/subcategories](https://docs.glideapps.com/all/guides/deep-dives/design/subcategories)

I think this could be a single sheet where you have a row for each question. By default, you could show the first row item when opening the tab in details view. Have a column with an ID or some unique identifier, a column for the question, and an array column or separate non array columns with the ID’s of the rows to go to if the answer is yes or no. Set up a relation for the array column or for the individual columns linking back to the ID column in the same sheet. This should allow you to display the relations as inline lists or possibly link to screen buttons that use the relation to go to the related yes/no row. You shouldn’t need complicated visibility rules and can set up one detail screen. The relations in the sheet will control how you navigate through all the layers and allow you to dynamically change the questions and flow in the sheet without having to touch the app.
