Forum Discussion

TamikaCashaw's avatar
TamikaCashaw
Community Member
14 years ago

Branching based on Survey Response

Is there a way to branch based on a survey question response?

Here's an example:

Are you a male or a female?  Depending upon the answer the user would be taken to a slide.

Male =branch to slide 2

Female =branch to slide 10

2 Replies

  • Tamika,

    I've attached a short sample that shows you how to structure this.  I've used a survey slide as the base, but you even need to use a survey question per se.  You could simply create a slide with two radio buttons and then branch based upon the user's choice. Basically, this creates the same structure as a survey slide.

    You'll notice that I removed the submit interaction trigger from the survey slide and added the two triggers to evaluate what the learner had selected from the choices.

    Mike

  • I wanted to do the same thing but not add additional triggers on the slide.

    My approach was to add a numeric variable of 0 which was adjusted to 1 if the yes option was chosen and then added jump to slide triggers on the submit button using the if... function to determine the slide. 

    It didn't work initially, but I put the jump to... triggers before the submit interaction trigger. That made the branching work as expected and it appears tha the answer is still recorded.