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

Change state for wrong drag sources after submit

New Here ,
Mar 07, 2016 Mar 07, 2016

Hi,

i'm working on a project where the user can drag multiple text on multiple drop target.

I know that I can have a "drag rejected" state for sources just after the drop, and that i can have "drop incorrect" state for drop target after submitting.

But actually i need to highlight the wrong drag sources after submitting the quiz.

Is there a way to change the state for wrong (or right) drag sources only after the submit?

Thanks

286
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 ,
Mar 07, 2016 Mar 07, 2016

What do you mean by 'after the quiz'? Is that during Review?

Drag&Drop in 2016 with Captivate 9 - Captivate blog

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
New Here ,
Mar 07, 2016 Mar 07, 2016

Sorry, I mean just after the user has pressed the submit button.

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 ,
Mar 07, 2016 Mar 07, 2016

Do not use the InBuilt States Inbuilt states. Each drag action can have an object action, which you can use to identify the 'wrong' actions. Then use a conditional advanced action triggered by the Failure event of the D&D to show the custom 'wrong' state to the wrongly dropped drag sources.

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
New Here ,
Mar 07, 2016 Mar 07, 2016

Thanks Lilybiri.

How can I get all the wrong sources in the advanced actions? Is there a variable I can use for them?

EDIT

Sorry, I didn't get your answer right. Could you suggest how can i use object action to mark the wrong answers?

Thank you.

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 ,
Mar 07, 2016 Mar 07, 2016

No. You'll have to use user vars.

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
New Here ,
Mar 07, 2016 Mar 07, 2016

Ok, I've created a new user var. Now, how can i store the wrong drag source in this var? You suggested object action, how can i use them?

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 ,
Mar 08, 2016 Mar 08, 2016
LATEST

You will need more than one user variable, one for each drag source that is set to a default value of 0, and changed to 1 if the drag source is dropped wrongly. About object actions, have a look at this blog post:

Drag&Drop tips - Captivate blog

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