Drag and Drop Reset withTry Again Multiple Attempts

May 23, 2013

Hi All,

Just created a Screenr on creating a Drag and Drop Quiz with 2 attempts. The D&D resets after the first attempt; that is, the objects go back to their original position. On the second attempt, Learners are brought to the Incorrect layer. Of course, you can set up as many attempts as you want!

Uploading the story here. Have seen this question appear periodically, so thought it might be helpful to have a tutorial and an example.

22 Replies
Reena Mittal

Hi Leslie

Thank You for your response, but I know that we set the automatically decide the slide property than review button work correctly, but my issue is that how to set the multiple attempt in the drag-drop with reset all the options. because with the automatic decide drag-drop cannot we reset & we set the initial state than review button work incorrect.

Please suggest.

Leslie McKerchie

Hi Reena!

You can allow multiple attempts on the question type, but the slide will not re-set utilizing the Automatically Decide setting. Sounds like you are utilizing the Reset to initial state to overcome this, but this will not allow your review process to work as designed.

If you would like to see this handled differently, you are welcome to share with our product development team here.

Ashley Terwilliger-Pollard

Hi Dario, 

I know there are a few workarounds in the E-Learning Heroes community to reset the drag and drop, but I can understand how that would make life easier to just have that as an option. I think it would be worth telling our product team about it here!

In case you're wondering, here's how we manage all of the ideas we receive! So the prevalence of workarounds may be why this hasn't risen to the top yet. 

Leslie McKerchie

Hi Yoann,

Glad that you found Rebecca's example helpful.

Unfortunately she does not make it back to the forums since she retired, but I took a look to see if I could help you out here.

I found the culprit. This trigger is setting the 'try' variable to always = 1, so it's never incrementing:

You can change it to this:

I've re-attached the file and I think it now works as you wish.

Hope that helps :)

 

Jose Tansengco

Hello Sonal, 

Thanks for sharing a copy of your project file with us. Just to clarify, are you trying to setup your triggers so that the positions of your drag and drop items will reset after the 'Try again' layer is shown? If so, you'll want to remove the 'Hide layer' trigger from your triggers: 

What's happening is that the layer is being closed before the 'Jump to slide' trigger is given a chance to execute, and the 'Jump to slide' trigger is the one responsible for jumping the learner back to the slide that they are on, effectively resetting the positions of the objects. To correct the behavior, delete the 'Hide layer' trigger and leave the 'Jump to slide' trigger in your question slides. 

Let me know if this works for you!

Ira Brown

I'm having an issue with the second attempt of my drag and drop. 

If the first attempt is wrong the user gets a second attempt.

So I have Slide Triggers to use a path to reset the item location when the user clicks "Try Again" button. Even if the user drops the right object to the drop zone it still displays the Incorrect layer!

Anyone have any idea what's up there?

 

Luciana Piazza

Hi, Ira!

Thanks so much for reaching out. I'm sorry to hear you're having trouble with your drag-and-drop interaction. 

Would it be possible for you to share your file with us in this thread or privately in a support case?  I'd be happy to take a closer look at your project file. I'm curious to see if the order of triggers needs to be adjusted in order to achieve this, as my colleague Joe mentioned earlier in the thread. 

Looking forward to hearing from you!