Welcome to part three in this multi part series on logic tree.
And one of the reasons we might want to do this is if we're building a complex form, where depending upon what answers users are giving, we're going to add specific questions as follows ones that asks the user only the questions that pertain to them. So let's open up our first logic app that we've created so far. And so far, we've created this HTML text node, we added three categories. And underneath category one, we added this simple question with two answer choices. And what we want to now do is add follow on questions. If the user clicks on these different answer choices, it asks a different more specific question to the user. So let's click into the edit mode. And from here, let's start by looking at this indented hierarchy. So if I click into this node we can see that this is a category node. And if I look at this hierarchy here, I can see that this these nodes below it are indented to the right. What this indention means is that this is a parent node to these two children nodes. So if I click into this node, I can see that this was a basic text node that we added. And if I click into this node, I can see this is a question that we added. So both this text and this question, they are two siblings of each other, but their children have this category node. And then these two answer choices I can see that's an answer. Our children have this question node. So this is important because this type of a hierarchy is how you establish a lot of logic in logic tree. So if I now want to create a follow on question, if the user picks this answer choice, one of the ways that I can do that is to add a child question node as a follow on to answer choice one, and we can just make this one a yes or no answer choice. And then if we want to now add to answer choice to its follow one question, another way to add is to click on the six dots we see child options, and we can add a follow on to answer choice, too. And this one we can leave open ended.
If I now click preview, we can see this first basic introduction of conditional logic and questioning. So if the user picks answer choice two, choice one, we will ask a follow on to answer choice one, because that question is now relevant to the user because they picked this answer choice. If they pick answer choice two, will ask the different question. Because this one is not relevant to them. And this one was an open ended question where they can add their own answer choice. So let's add just one more quick layer. And let's say that if they pick yes, we're going to add another follow one question and this one is a follow on to answer. Choice one, yes. And we'll leave that open ended. And even here this open ended answer choice here.
We can also add a follow on question and say follow on to answer choice two, open ended. And so if we now preview this, we can see if they pick answer choice one, and if they pick, no, nothing happens, as we would expect, but if they pick Yes, we ask a follow on to answer choice one. Yes, that was open ended. And then for answer choice two, we have here the open ended answer, and if they answer it, it asks a follow on to answer choice to open ended. So this starts to highlight the layers, the multi part layer of conditional logic that you can add in a logic tree. And the really big benefit of this is that being able to ask all these different conditional questions based on what the end user is answering allows you to custom tailor a form or a training program or whatever you're creating, specifically to their needs, letting as they answer you ask and present them with what is relevant to that end user. And in the following videos, we're going to keep diving deep into all the different ways that you can add even more conditional logic