Drag and Drop Slide Issue

May 01, 2017

Hello, I have a drag and drop slide set up to have the answers snap back if they are incorrect and to remain in the target if they are correct. Right now, the user can click Submit and advance to the next slide after only attempting to drag one of 12 objects. How do I prevent the slide from advancing until they attempt to move all objects?

1 Reply
Daniel Sposato (Philly)

Hi Diane,

The easiest thing you could probably do is to put in a message that says something along the lines of "Click Submit when all drags have properly attached to the correct drop target." Otherwise, it's will take a bit of organization, a few triggers and a variable to get this working the way I think you might.

What you can do is hide/disable the submit button until all of the drag objects are dropped on the correct drop objects. If you've made your D&D using the Freeform option, then you can do the following:

  1. Make a trigger on your base layer that will change the state of your Submit button to hidden/disabled when the timeline tarts.
  2. Create a variable that will be used to add up the amount of times a correct drop is made. Something like "drops_total".
  3. Then set up set up a few triggers to add 1 to "drops_total" every time a correct drop is made (You would have to make one for each drag object successfully being dropped on the correct drop object).
  4. Then make a trigger that checks to see if "drops_total" is equal to 12. Once it is then reveal the submit button.

It may sound a little complex, but it's not too difficult. Let me know if you need more help.

This discussion is closed. You can start a new discussion or contact Articulate Support.