Highlighted

Drag & Drop Feedback for single drop target

Explorer ,
Nov 09, 2019

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. 

Adobe Community Professional
Correct answer by RodWard | Adobe Community Professional

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.

TOPICS
Advanced

Views

306

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Drag & Drop Feedback for single drop target

Explorer ,
Nov 09, 2019

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. 

Adobe Community Professional
Correct answer by RodWard | Adobe Community Professional

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.

TOPICS
Advanced

Views

307

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 09, 2019 0
Adobe Community Professional ,
Nov 09, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 09, 2019 0
Explorer ,
Nov 10, 2019

Copy link to clipboard

Copied

Thanks! This did all the magic

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 10, 2019 0
Most Valuable Participant ,
Nov 09, 2019

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 09, 2019 0
Explorer ,
Nov 10, 2019

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 10, 2019 0
Lilybiri LATEST
Most Valuable Participant ,
Nov 10, 2019

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?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 10, 2019 0