if then

Nov 27, 2023

Hi,

I need some help with IF then triggers for self reflection. I also need to add to the triggers that if the user selects a certain combination it will take them to a new page for support. I attached my file any support is helpful.

Thank you,

Michelle

2 Replies
Judy Nollet

These tips might help: 

This post might provide some guidance: TIP: Track Responses to Custom Questions or Surveys - Articulate Storyline Discussions - E-Learning Heroes

Patrick Nevison

Hi

Here's one approach.

This uses 2 sets of Radio Buttons (Insert > Input > Click a style > click and drag onstage to draw).

These seem ideal for your use as they have the integral behaviour of mutually exclusive selection (click one, the other is deselected automatically), so you don't need to write any triggers to control them.

All of the code is attached to the 'Process my choices' button. The first two triggers make sure the learner has made selections. If one or both radio buttons are not selected, these triggers will show the layer 'no choice made' and prompt the learner of their error.

The third trigger checks to see if 'agree1' AND 'agree2' are selected. If this is true, the player jumps to slide 2.

The last trigger checks to see if 'disagree1' OR 'disagree2' are selected. If this is true, the player jumps to slide 3.

Hope this is of some help.