Skip to main content
Participant
July 12, 2016
Question

Drag and drop interaction in Captivate 9

  • July 12, 2016
  • 2 replies
  • 305 views

Hi I'm creating a drag and drop interaction in Captivate 9 that gives specific correct and incorrect feedback for each matched pair. I have done this with a variable for each target and an Action for each drag source that assigns a value to the variable for the target it's dropped on depending on whether it's correct or not. I also want to allow the user to redrag the source and resubmit after they have seen their feedback, so have set each target to allow 1 source and replace the first source and return it to its original position.  This means that it's possible to have empty drop targets when you resubmit. 

 

The problem is that the value of the variable corresponding to these empty targets does not change when the drag source returns to its original position. This is not a problem if the user puts a drag source on every target, but if they leave any empty then the feedback for the empty targets will be unchanged from their last attempt.  Does anyone know if there is a way to initiate an Action when the drag source is removed from the target so that I can reset the variables? 

 

Thanks

Julian

This topic has been closed for replies.

2 replies

Lilybiri
Legend
July 12, 2016

I know, D&D in Captivate has some limitations when you want to achieve a goal like you explained. The Object actions are a great feature, but you bumped on the the lack of events like the 'going back' or 'replace'. Honestly, I spent many hours trying to solve this kind of requests, but was not that successful. If the D&D is not configured as a question slide, you could replay the slide (with re-entering) to reset it totally but that is not what you want. You could reset the variables with the On Enter event, but the user would have to start from scratch again.

Because I am pretty busy at this moment (accountancy to finish ) cannot spend time to try to explore more. I would have asked to see the (shared?) action you are triggering as object actions. Did you check if the InBuilt states could help? Have a look at:

Drag&Drop in 2016 with Captivate 9 - Captivate blog

On my ToDo list is also exploration of the CpExtra widget (InfoSemantics) for object actions... not sure if that can solve some D&D limitations.

harvar107Author
Participant
July 12, 2016

Thanks in advance for answering this question