Drag and drop: Is it possible to "resume" if interaction is submitted too soon?
Nov 09, 2015
I have a drag-and-drop interaction set up so the learner can only get it right, i.e., each item pops back into its start position if the learner tries to drag it to the wrong target. There are 10 items to "sort" into 3 different boxes.
Here's the issue: if the learner clicks Submit before they drag every item, the Incorrect feedback layer appears (rather than the "You must complete the question..." message, which does appear if they click Submit before dragging anything).
I know I can set the button on the Incorrect layer to reset the interaction to start from the beginning. But what I'd like to do is have the interaction re-start from where the learner left off. However, if I just close the feedback layer (without re-starting the slide), the items are no longer draggable.
So: Is it possible to set up a variable that can look at whether all items have been dragged? If I could figure that out, then I could disable the Submit button until the learner is done. (Otherwise, I'll just make them start all over. Nyah, nyah, nyah.)
8 Replies
I think I just answered my own question: I found the Drag and Drop condition options for shape states.
And that concludes this episode of "Judy works out loud."
Hi Judy,
Drag and drops don't reset by default, but there are a number of users who have used a variable and jump to slide method to reset it as described here.
Yes, I know how to "jump" to the same slide and have it reset to the initial state. The thing is, I didn't want to reset to the INITIAL state, I wanted to close the Incorrect-feedback layer and have the user simply continue to drag the items that they didn't drag before clicking Submit. (That isn't possible with the default settings. The remaining items lock in place.) FYI: This was a freeform drag and drop.
The solution was to prevent the user from clicking Submit until ALL items had been dragged. That's what my notes above on the Drop Correct state are about.
Nice solution Judy. I would have done the same thing. Glad you were able to figure it out :)
Hi Judy,
Sorry if I misread your post and thanks for clarifying. I'm glad you were able to figure it out using a different method and I'm certain it'll assist other users who come across this thread.
Ashley, that's why I added my notes instead of just deleting the question when I figured out what to do. I hope it'll help someone else in the future. :-)
Thanks Judy - sometimes I read to fast and must have missed it. We always love having the solutions here so never a need to delete the question. :-)
This discussion is closed. You can start a new discussion or contact Articulate Support.