Skip to main content
alfredmack
Inspiring
Nov 9, 2019 10:40 AM UTC
Answered

Drag & Drop Feedback for single drop target

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 is closed to new replies. Start a new post to keep the conversation going.
RodWard
RodWardCorrect answer
Community Expert
Nov 9, 2019 1:39 PM UTC

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.

5 replies

Lilybiri
Legend
Nov 9, 2019 4:51 PM UTC

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

Translate
alfredmack
Inspiring
Nov 10, 2019 10:08 AM UTC

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.

Translate
Lilybiri
Legend
Nov 10, 2019 10:41 AM UTC

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?

Translate
RodWard
Community Expert
RodWardCommunity ExpertCorrect answer
Community Expert
Nov 9, 2019 1:39 PM UTC

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.

Translate
alfredmack
Inspiring
Nov 10, 2019 10:05 AM UTC

Thanks! This did all the magic

Translate