Branching logic (often called conditional logic or ‘logic jump’) was a huge reason behind our launch of Riddle 2.0. Now, you can use branching logic in all Riddle formats as part of our Pro, Team, and Enterprise plans.

branching logic all riddle formats

Why? Branching logic turns linear quizzes into flexible and more effective interactive experiences.

Rather than show the same questions to every user, branching logic allows you to show different questions to users, based on their previous responses.

branching logic example quiz

(Back story: we offered conditional logic in our ‘journey’ format in Riddle 1.0. Our community loved the feature – but also kept pushing us to add logic jumps to our other formats.)

Branching logic: video overview

Our co-founder Mike put together this handy video overview of our branching logic / logic jump feature covering:

  • Types of logic flow:
    • Linear – no branching logic
    • Answer – if user answers A, show question B
    • Block score – if user gets >X points in block A, show question B. If <Y points, show question C.
    • Riddle score – if user has >X cumulative points, show question B. If <Y cumulative points, show question B.
  • Copying/moving blocks
  • Result calculations and outcomes

Different branching logic options

As we mention above, there are four different ways to use logic with Riddle’s online quiz maker.

branching logic - logic options
  • Linear
  • Answer
  • Block score
  • Riddle score

Linear logic

The default logic for all riddles is linear – where each block is displayed in order to your audience, with no branching logic.

Linear logic is also the only option included with our Basic plan.

branching logic - linear logic example

Answer logic (quiz, personality test, poll/survey)

Want to show different questions based on the specific answer a user selects?

Answer logic lets you create branches based on the user’s answers.

branching logic - answer logic

For example, in this Friends quiz question, users who pick the correct answer (Pizza) are shown a multiple-choice question.

All other responses are shown a tap & find one instead.

Please note: multiple-choice blocks do not support branching logic by answers.

This is by design – to avoid any conflicts caused by a user picking answers linked to different branches.

Block score (quiz)

Riddle’s quiz creator gives you many different scoring options.

For example, you can choose between question-level (get X points if the question is correct) or answer-level (give different points for each answer) scoring.

branching logic - block score example

Our Friends quiz asks users to identify the six main cast members – and gives between one to three (1-3) points each for every correct answer, as well negative five (-5) points if users picked Yoda.

You can use a slider and create branches around different scores – each showing a different block.

branching logic - creating branches

In this example, there are just two branches (-5 to -1 pts and 0 to 10 pts) but you can create multiple additional branches and customize the score ranges for each one.

Riddle scoring (quiz)

A close cousin to block scoring branching logic, the Riddle score option lets you show different questions based on the user’s score up to that point.

branching logic - Riddle score example

In this Friends example, we challenge advanced users (who have scored 76-100% of the possible points so far) by asking them additional questions. This gives them a chance to score even more points.

That’s just one example. The use cases for Riddle scoring and branching logic are wide-ranging.

For example, teachers might want to show students below a certain score threshold extra questions so they can master a subject.

Copy/move blocks

Riddle’s branching logic lets you drag and drop blocks (and branches) with ease.

branching logic - copy move blocks
  • Move blocks: simply drag and drop blocks to the new location
  • Copy blocks: hold CTRL or CMD while you’re dragging the block. The original block will remain – and a copy will be inserted in the new location.
  • Include branch blocks: branching logic often means you’ll want to move an entire branch of blocks.
    1. SHIFT + dragging = move the block and any subsequent blocks
    2. SHIFT + CMD or CTRL = copy the block AND all following blocks

Video: How to move or copy blocks/branches

Using branching logic for results (quiz, personality test, poll/survey)

Once you’ve set up your quiz with any conditional logic at the question level, you’ll need to think about how to assign results.

Result calculation (quiz, personality test)

By default, quiz and personality test takers are shown the results based on their overall scores.

In our Friends quiz, people who score 0-33% get “You’re a Friends newbie”, for example.

Branching logic quiz - result calculation

Manually assign results to each branch (quiz, personality test, poll/survey)

Sometimes, however, you might want to take a more active role – and assign a specific result to a particular branch.

branching logic - assigning results

In our Friends quiz, we could decide to place result blocks “You’re a Friends newbie” at the end of branch A, “You’re a Friends aficionado” on branch B, and so on.

branching logic - manual vs automatic result calculation

Video: assigning results with branching logic

You can watch all of this in action in this short three-minute video:

Why use branching logic? (Use cases)

Branching logic is incredibly powerful.

Instead of creating a quiz, poll, or survey that asks the same questions of every user, logic jump enables you to make flexible interactive content that’s personalized to each user.

Here are just a tiny sample of possible use cases built around logic jumps or conditional logic:

Employee satisfaction surveys

  • Go beyond a simple set of questions to gain deeper insights into your employees’ satisfaction.
  • Use branching logic to probe for more details.
  • For example, you could ask “How happy are you in your job?” with a slider from ‘Very unhappy’ to ‘Very happy’.
  • Anyone who answered ‘Very unhappy’ or ‘Unhappy’ would see an open text question ‘We’re sorry to hear that – please tell us more’.

Product recommendations

Online quizzes excel at recommending products to customers. You can ask a few questions and help potential customers find the right product that matches their needs.

  • Ask broad questions first to narrow the range of outcomes (e.g. a pet food site might ask “What type of animal do you have?”)
  • Then use branching logic to get more specific.
  • You could ask questions like “How big is your dog?” or “How active is he?”.
  • At the end of the quiz, your quiz would return personalized recommendations based on each quiz taker’s responses.
  • A user who answered #1 – dog, 30-40lbs for #2, and “Super active” for #3 might see “Your dog needs our ‘Might Mix dog food – full of energy and vitamins to keep him happy!’

Health assessments

One of the most popular uses of online quizzes for marketers is around asking users about their health.

  • “Are you depressed?”
  • “How healthy is your lifestyle?”
  • “What’s your ideal workout?”

The list goes on and on.

Each of these can use branching logic to craft custom assessments for each user – around their specific responses.

For “How healthy is your lifestyle?”, you could ask:

  • Do you smoke?
  • If YES, then you could ask some follow-up questions about how many years they smoked – and how many packs a day.
  • If NO, you would skip the smoking questions, and explore other areas.

We’ll be crafting more conditional logic templates around these and other use cases, including:

  • Who should I vote for?
  • Quiz contests
  • Net Promoter Score (NPS) surveys
  • Education / teaching

Any questions about branching logic?

We know it could seem a little complicated to get started with conditional logic – and we’re here to help.

Just ask any questions in our support chat. You’ll be pleasantly amazed at how fast we are to respond – our whole squad of quiz geeks handles customer support, from our founder Boris on down.

Our average response time? Under two minutes – how’s that for quick? 🙂

Transcript for our branching logic video

(Members of our Riddle quiz maker community will be familiar with this. We love being an accessible online quiz maker – and add transcripts of our videos in all of our online quiz maker help videos; they’re very useful for people using text-to-speech or other accessibility devices.)

Hi there. My name is Mike, and I’m one of the co-founders here at Riddle. And in this video, I’m gonna show you how you can use our powerful branching logic or logic jump feature to show different questions to different users based on their quiz responses.

Now, for our demonstration quiz, we’re using this Friends example because frankly, I’m a big geek about Friends. And you’ll see here in this quiz that I have used lots of different question blocks.

I have single choice, multiple-choice, tap and find, order… lots of blocks.

Once you’ve created all your blocks, then you want to set up your logic. And in this case, we have a default logic, which is linear, which basically shows all the questions to every user no matter what they answer. And then at the end, we have these possible result outcomes.

Now this is what you can do with the same quiz with branching logic. So we’re going to start with the title. The next block is a single choice, “What’s Joey’s favorite food?”

If the user gets it right, I want to show them a different question.

If they get it wrong, I want to show them a different option.

So in this case, I’m using a branching logic type called ‘answer’. Basically, if they choose this answer or these answers go here. If they choose these answers go here.

I’ve now picked pizza as the answer, and I’m saying, okay, if they pick this, then what happens? If they choose pizza, then go to this multiple choice question.

And you’ll also see as you go down, there are different ways to decide what blocks are shown. So we’ve used answer logic, and this one, we’re using block scores. Now, this is designed for more sophisticated blocks with lots of answer types.

So in this case, we’re using this multiple choice block where I have answer scoring. So instead of just, “Hey, you get x points for this block if you get it right”, I set it up so every answer has different points because some are easier than others. So maybe Matthew Perry is worth two points, david Swimmer’s worth one, and so on. So every choice is different.

And I’m also putting in Yoda, which is scored at negative five, because if someone uses Yoda as part of Friends, they deserve to lose a lot of points.

Okay, so we have all these points. So instead of saying, well, if you pick Chandler or if you pick Matthew Perry and David Schwimmer, go here. We’re using block score. Now the block score just says, okay, if they score x points on this block, do this.

So in this case we’re using a slider, and you can change the point distribution here. So in this case, I’m saying, okay, if they have minus five to zero points, so they got Yoda or they didn’t get into the other positive points they did really badly.

Now, I want to send them down this branch on the left. If they get one to ten points, I’m going to say, okay, I want to send them down the right. You can always add branches.

You see here, I’ve added another branch with another slider possibility. So again, it’s very flexible in how many ways you want to direct people to this. In this case, I’m going to delete this extra range here and we’re going to go readjust this score just to make sure it’s back to the way I wanted it. There we go. Okay, so that’s block score and that’s pretty much it.

You can also do another block type, which is called Riddle score. And this might be really interesting for a quiz contest where it’s like, okay, if they’ve got yes, this would be really cool if you were doing a quiz contest or some sort of quiz experience… based on their overall score to this point, I want to do something else.

So watch what happens. So we’re going to go down this path where it’s if they got question one correct, they see the multiple choice correct. And let’s say that we’ve asked three more questions.

Now I want to add some additional level of difficulty. So I’m going to say, okay, single choice question. I’m going to add a Riddle score, different block. Now look what happens here. It’s saying, okay, if they are and it’s the same thing, I have a slider based on their score, I want to decide if I show them more questions.

Imagine someone has at least 75% of the points, I want to show them they get 76% or better. I want to show them additional questions so they can score additional points. And that might help with leaderboards or hey, if you score the most points on this quiz, you get X or whatever. But notice here, these blocks are in the wrong order. They’re on the wrong branch.

So what I’m going to do is I’m going to move them. And you’ll see here, this is how you do it. So it’s a drag and drop for a blockbuster. And what you want to do in this case, I want to move both the text input and the quote to this other branch. So I’m going to hold CTRL or Command plus Shift.

Rather, I’m going to hold Shift down, and I’m going to move this to the next block. Now, watch what happens. It takes both the text input and the quote. However, I can always just drag and drop one block back the other way or move it back here. So again, drag and drop form builders.

Very cool.

So you see in here, it’s like, okay, if someone is doing badly so far on the quiz, I’m just going to take them directly to the calculation. If they do well, I’m going to take them to some additional questions. And that’s pretty much it. Branching logic is really powerful, and you can also do the similar thing with polls and surveys.

So, for example, this is a demonstration poll that we are creating for people who sign up for a demo with Riddle. And we’re like, okay, cool. I’m going to ask some questions around. How useful was a demo? Do you think Riddle can help you?

But I want to show different questions based on users results. So in this case, I’m saying, okay. So I’ve asked a couple of questions. Now I’m saying, okay, well, from our chat, it sounds like you were most interested in and I’m going to put a couple of answer choices. If they say no, I’m using this answer choice to say, well, I’m going to show you.

I’d like to learn more. So I’m so sorry to hear about that. What can we do? And then I take people down again. It’s like, okay, would you like a follow up chat?

And I’m using answer logic to send people down different paths. So if they say yes, I’m going to show them a form which is like, hey, pick a day and time that works best for you. If they say no, I don’t want a demo. I’m just going to show them the thank you page. So this is a very powerful and flexible way to get audience feedback as well.

So branching logic really powerful. If you have any questions about this, it’s still a new feature for Riddle, so there may be some things that we could do better or some things that you might be confused about. Please use our support chat down in the bottom right. We are super happy to get feedback and questions, and we love helping people out. Make the most of this powerful feature.

Okay, that’s our brand new branching logic / logic jump feature. That’s Riddle. Have a great day!

Scroll to Top