Forum Discussion
restore dragged object position if dragged into incorrect place.
Hi there Adam!
Can you tell us a little more about what you're looking to do? Are you wanting to build a freeform drag and drop interaction with the option to give feedback for each individual drag item? Here's a good place to start - though this thread is older, it's got detailed steps and sample files you could use as a jumping off point. And hopefully in the meantime, your fellow community members can chime in and share how they've made this kind of interaction work!
- AdamVala9 years agoCommunity Member
Hi Allysa,
thank you for your reaction. There are many way where I want to use DandD
restoring on position. Mainly in slides where I need more cooperation from
the user during the learning process. I tried to describe one of the
situation. It could be very helpfull for me.Thanks.
Regards Adam
There are 7 statements in Area 1. Only 5 of them are correct. The statements
are ranked random. The user should choose 5 corrects statements from area 1
and drag and drop them individually to the Area 2. Slide should allow to the
user drop maximum 5 statements. When user clicks on submit button the slide
should react like this:1. if user drops all 5 correct answers then the feedback layer is appeared
and user is allowed to continues to the next slide2. if user drops correct and incorrect answers together then the feedback
layer is incorrect and correct answers are shifted from Area 2 to the Area 3
(appeared into Area 3) and they are stayed visible in Area 3. The incorrect
answers are shifted back to their initial position in the Area 13. The user should choose missing correct statements from rest of statements
in Area 1 and drop them to Area 2 and submit it and behaviour is same like
in point 2.4. There are maximum 3 attempts. After 3rd attempts the slide with
information about correct statements is appeared and user is allow continue
to the next slide.
There is attached a small description of the situation.