Pop-up message for drag and drop (after all correct)?

Is it possible to have a pop-up message display after the last drop location has been completed? I do not want the user to have to click the submit button. In this activity, drag items snap back to start location if they are dropped incorrectly, so, once the last item is correctly dropped, the activity is complete. I would like this last item to trigger the congratulations message. Also, the items can be dropped in any order, so I will not know which item will be the last item.

Thank you!

10 Replies
Amy Nicholson

Hi Michael (and others) I have tried to implement this and have run into a problem. Perhaps it is because the dragged items are text and not graphics? When I try and set the trigger, as soon as I click one of the text boxes (to set it as one if the items that must be Drop correct, a red flag appears and red text displays, but the text is cut off (and I can't seem to expand the window to see the entire message). The text starts: "Flagged objects do not have the selecte ....." that's all I can see. Everything else looks as your trigger looks: Show layer (congrats) When (state) On (All of) Is (Drop correct).

Thank you.

Ashley Terwilliger-Pollard

Hi Lisa, 

You could set it to show a layer when all the drag items are dropped correct/incorrect and have that occur prior to submitting the quiz question. If you've got a drag and drop you're working with it's always worth sharing a copy of that here so that other folks in the community can take a look and weigh in. 

Lisa Phillips

Yes, I have that happening for the correct answers, but I am not using a submit button. The answers are being shown as the user drops them into a box. That is why I can't get a layer to show after all the answers are dropped. Is there a trigger for once the interaction is completed and all answers (right or wrong) are in a box? That would be ideal. File attached this time... thanks.

Ashley Terwilliger-Pollard

Hi Lisa,

If you weren't using the dropped correct/incorrect states to show the layers, but instead let the feedback layers work as they're built/intended you could choose to submit the interaction when the state of all the items are not "normal" meaning that they've been dropped somewhere. 

Lisa Ferris

I'm trying to do the exact same thing, using the instructions directly above but it's not working...  Could you take a look?  All I want is when the drop items are in the correct boxes, a "Good job!" message pops up. I moved it from a "Good Job" layer to the Correct Answer Feedback, but nothin'! I added a trigger to submit interaction when the all the drop items are not normal.  What am I missing?  Thanks! 

Leslie McKerchie

Hi Lisa,

Thanks for sharing your .story file so that I could take a look.

I noticed two things:

Not all of your items were selected and based on your set-up, I'd change this trigger to when all of those same items were 'drop correct' state.

You did not have a Drop Correct State on your items.

So, take a look at your attached file and see if that's working as intended.