Forum Discussion

ColinL's avatar
ColinL
Community Member
9 months ago

triggers comparing different variables

I'm starting and finishing my e-learning with an exercise where the learner rates how confident they are with using certain terminology. 

At the end of the learning, after having rated the terms again, there's a slide saying 'congratulations! your score has gone from [variable 1] to [variable 2]'.

This all works fine, but I'd like to have an alternate version of the text on this slide for if the second variable is lower than the first variable. I can't figure out what the trigger would be though?

Thanks in advance! 

  • Here's a way to do it with one trigger:

    • Have the trigger show the "Congratulations" text with the condition that variable 2 > variable 1.
    • Add an "Else" statement that shows the alternate text. (That text will then show when the condition isn't met, that is, when variable 2 ≤ variable 1.)

    There are different ways to "show" the of text. For example, the versions could be on different layers or in different states. That's a matter of preference.

    The final trigger will look something like this: 

    Note: In the Trigger Wizard, each item with a dashed underline is editable. So if you don't see the option you want, look for it by clicking editable items in that part of the trigger.

  • Decide what you want to do with scores that don’t change. If you want to use Judy’s trigger, you will need to word the feedback to include both worse, and equal scores. If you want unchanged feedback included with improved scores, you need to change the trigger to “if numb2 is greater than or equal to numb1”.  If you want separate feedback for unchanged scores, you need three triggers; the “else” part won’t work. You need one trigger with the condition “ > show feedback1”, one with the condition “ >=show feedback2”, and one with the condition “ < show feedback3”

  • ColinL's avatar
    ColinL
    Community Member

    oh my goodness thank you both so much this was so helpful!!!!!

  • You're welcome. PIAWYC  (Pass it along when you can).
    Judy and I tag-team a lot, and as she says, PIFWYC (Pay it forward when you can).
    • JudyNollet's avatar
      JudyNollet
      Super Hero
      Walt Hamilton
      You're welcome. PIAWYC  (Pass it along when you can).
      Judy and I tag-team a lot, and as she says, PIFWYC (Pay it forward when you can).

      Walt: I thought I was borrowing "PIFWYC" from you!  Well, the sentiment is the same, even if my brain cells scrambled the quote a bit.