Skip to main content
alfredmack
Inspiring
November 9, 2019
Answered

Drag & Drop Feedback for single drop target

  • November 9, 2019
  • 2 replies
  • 784 views

Hi,

I have a drag & drop slide with 4 drag source and 4 drop target, Now I wanted to know which Item is wrong when submit button is pressed and return appropriate feedback. I'm trying to achive this using Advance action through Onsuccess/OnFailure. The problem is that I don't know how I can verify for correct/wrong dropped item using advanced action. Anywaone with this knowlege please assist. 

This topic has been closed for replies.
Correct answer RodWard

You are in luck.  The Success and Failure actions are not the only ones available to you when you use the Drag and Drop interaction.

 

If you select a drop target, look for the Object Actions button.  The dialog allows you to set up separate Advanced Actions that are triggered when a specific drag object is dropped on that target.  This gives you a lot of flexibility about what happens when incorrect objects are dropped on targets.  For example, you could SHOW a specific hidden Smart Shape when a particular object is dropped on the target.  That smart shape (or image) would then provide customised feedback to the user.

2 replies

Lilybiri
Legend
November 9, 2019

I have a blog somewhere explaining in detail the use of object actions.

http://blog.lilybiri.com/drag-and-drop-actions

Alternative is to set up the InBuilt states for the drag sources and the drop targets. No need for advanced actions in that case.

http://blog.lilybiri.com/drag-and-drop-in-2016-with-captivate-9

alfredmack
Inspiring
November 10, 2019

Thanks! But this seems to explain feedback before submit button is clicked. I have used object action and set advanced action which did what I wanted.

Lilybiri
Legend
November 10, 2019

It is similar, that is what I tried to show. Object actions only are explained in another older post:

http://blog.lilybiri.com/drag-and-drop-tips

 

Did you try the InBuilt states?

RodWard
Community Expert
RodWardCommunity ExpertCorrect answer
Community Expert
November 9, 2019

You are in luck.  The Success and Failure actions are not the only ones available to you when you use the Drag and Drop interaction.

 

If you select a drop target, look for the Object Actions button.  The dialog allows you to set up separate Advanced Actions that are triggered when a specific drag object is dropped on that target.  This gives you a lot of flexibility about what happens when incorrect objects are dropped on targets.  For example, you could SHOW a specific hidden Smart Shape when a particular object is dropped on the target.  That smart shape (or image) would then provide customised feedback to the user.

alfredmack
Inspiring
November 10, 2019

Thanks! This did all the magic