# Drag and drop function

**URL:** <https://forum.kirupa.com/t/drag-and-drop-function/123795>\
**Category:** Uncategorized\
**Created:** [September 27, 2004, 1:34pm UTC](https://forum.kirupa.com/t/drag-and-drop-function/123795 "2004-09-27T13:34:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gwana](https://avatars.discourse-cdn.com/v4/letter/g/ba9def/32.png) [@gwana](https://forum.kirupa.com/u/gwana)\
**Post date:** [September 27, 2004, 1:34pm UTC](https://forum.kirupa.com/t/drag-and-drop-function/123795/1 "2004-09-27T13:34:00Z")

</div>

I am trying to create a drag and drop action. I got it done, you can see it at

[http://www.gwana.net/clients/merck2/slide16.swf](http://www.gwana.net/clients/merck2/slide16.swf)

However, what needs to happen, is rather than counting each element when correctly placed, I need to set it up so that the user will drag and drop all of the elements, then press a submit button, which will then let the user know if they were all correct. If incorrect sort, then it will give a wrong answer animation then reset itself. Does anybody know how to do this?

Thanks.
