Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Drag & Drop Feedback for single drop target

Explorer ,
Nov 09, 2019 Nov 09, 2019

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. 

TOPICS
Advanced
653
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 09, 2019 Nov 09, 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

...
Translate
Community Expert ,
Nov 09, 2019 Nov 09, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 10, 2019 Nov 10, 2019

Thanks! This did all the magic

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 09, 2019 Nov 09, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 10, 2019 Nov 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 10, 2019 Nov 10, 2019
LATEST

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources