Forum Discussion
if then
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.