Decision tree

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?

1 Like

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

No, that is not the idea.

Im thinking :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

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

I think so…

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.

1 Like
2 Likes

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

1 Like

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

1 Like

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

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.

1 Like

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

Saludos

1 Like

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

https://pickacard.glideapp.io/

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

1 Like

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.

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.

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! :smiley:

1 Like

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.

Take care and hopefully things are going well over there.

I would maybe follow the logic here.

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.

1 Like