Copy link to clipboard
Copied
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.
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
...Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Thanks! This did all the magic
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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?