Forum Discussion

TobiasSpring's avatar
TobiasSpring
Community Member
4 years ago

Direct custom feedback for drag-and-drop interaction

Hi Community, 

I want to build a drag-and-drop interaction where the learner gets an immediate feedback after dropping an item on a target. The tricky part is that I want them to get a unique feedback for every item they drop correctly or incorrectly. E.g. Drop item 1 gets correct target feedback 1 or incorrect target feedback 1, Drop item 2 gets correct target feedback 2 or incorrect target feedback 2. 

This way I hope to include the learning process itself into the drag-and-drop interaction. Is this possible? 

Thanks for your support!

Tobias

  • TobiasSpring's avatar
    TobiasSpring
    Community Member

    Hi David

    Thank you for your quick reply and the example provided. It is not what I meant. Let me try to explain it better: 

    When a learner drops an item on a target, I want a textbox to appear that explains, why it was correct to drop item 1 on target x or why it was incorrect. E.g.

    "What do you need to clean up a spill in a BSL2 Laboratory?"

    Item 1: Disposable Latex gloves

    Target 1: Spill

    If learner drops item 1 on Target 1 a textbox appears: "You should not use latex gloves for cleaning up spills, they can dissolve in some solvents or disinfectants used for the clean-up"

    Does this make sense? 

    Best regards

    Tobias

  • OK, here's another way to do it. I took your example for the first drag and drop item. See what you think. 

    I'd be inclined to have each drag item on a separate screen, so as to avoid many triggers on the slide, especially as you'd want to hide the feedback for each item as you move to the next. I've sort of taken care of that by having each textbox appear at the same screen location. The correct feedback box is currently empty, but of course could include text.

     

  • TobiasSpring's avatar
    TobiasSpring
    Community Member

    Wow, thanks David!

    That is exactly what I was looking for! Great! Now I will finally have to start working with triggers. 

    One question to your set-up: Both the "correct answer" textbox and the "incorrect answer" textbox have as initial state "hidden". So why do you have a second trigger that they should become hidden when the other answer is chosen? For the case that a learner wants to change his answer? 

    But hey, this is great, thanks a lot!

  • Hi Tobias,

    Yes, changing the answer is the reason for those hide triggers, particularly since one of the boxes is on top of the other in the timeline. But I've also run into unexpected issues when I have hidden objects that get turned back on, so I generally like to set them back to hidden when they are not meant to be shown.

  • Hello, I have created drag and drop slide and at the end I would like the feedback slide layer to appear. I created trigger - show layer "feedback" when the state of all the characters is Drop Correct, but the slide layer is not showing up. What can be the reason for that?

    Thank you!

    • DavidSchwartz-f's avatar
      DavidSchwartz-f
      Community Member

      Hi Sandra,

      Hard to say without seeing the slide. Storyline is able to do this. I've modified the example above to do that, and show the correct layer when all of the items are dropped correctly. If you try it, note that you can move them to the correct box after dropping.

  • Hello!

    I still didn't manage to fix my issue. I attached my slide. Thank you.

    My idea is that I would like to show slide layer "correct" when item is dropped correct and show slide layer "kõik" when all items are dropped correct.

  • Hi Sandra,

    I see the issue, which is that the objects for which you are setting states are automatically hidden by the drag-and-drop feature, so the states are not being set. 

    I added T/F variables for each character, and set them to true for each correct answer. Then on the Correct layer, there is a new trigger that shows the "kõik" layer when all the variables are set to true.