Drag and Drop - I need help.

Hello there!

I have three drag elements and three drop elements (with only one item in each drop target). I also have a custom OK button that is inactive by default.

The OK button becomes active when each rectangle is placed on a target-element. That fits so far.
If I then drag a dropped element (rectangle 1) over to another dropped element (rectangle 2), rectangle 1 will lay as it should be (on the drop element) and rectangle 2 will jump back to the starting point. But now the OK button remains active, although NOT all rectangles are placed on one destination.

Does anyone have any tips on how to solve the problem? In the end, I want an OK button to be set to active only if all drag elements are on one drop element.


Thanks for your help!

1 Reply