Copy link to clipboard
Copied
I have a fairly simple drag-and-drop that I've set up.
Each time, if a user submits, the normal failure caption is displayed, which is good.
However, I'm setting my retry limit to 3. Upon the 3rd incorrect try, if the user clicks Submit, I don't want the normal failure caption to display. Also, I want all the original Drag items to be hidden on the slide.
Instead, I want a number of new items to be displayed.
I've tried doing this by creating a variable (say, "Var1"), and by assigning an Advanced Action to the Failure of the drop-and-down interaction. The Advanced Action is a Conditional action:
If Var1 is less than or equal to 2, then continue and Increment Var1 by 1.
Else, Show [all the items that I wish to display] and Hide [normal failure caption and each original drag item].
This is not working.
Any ideas would be appreciated.
Copy link to clipboard
Copied
You misunderstand some of the design of Drag&Drop. The action On Failure should be labeled 'Last Attempt', because just like for normal question slides, this action will only be executed after the last attempt, when it is still a Failure. You could use that action, without having to track the attempts like you tried to do and hide the original drag sources. However you cannot replace them by new drag sources. I suppose the easiest work flow would be to have that action navigate to another D&D slide which has new drag sources. This means that you'll have to get rid of the playbar and create custom navigation for the whole project of course.
Copy link to clipboard
Copied
I'm really sorry, but I don't understand. Is the "On Failure" action an action that I must build? (Because I cannot find a built-in action by that name.)
If so, what should it look like? I.e., what must I build it to do?
If there is any specific training about this that you could refer me to, I'd be super grateful, as I've searched a lot but couldn't find anything.
Thanks.
Copy link to clipboard
Copied
There is a D&D training in the Lynda.com library. But what you want is not possible with the D&D in Captivate: you cannot have a new set of drag sources when attempts are exhausted, you need a new D&D.
Did you test the Advanced action that you are using? Did you track the user variable while testing (you can insert it in a text caption or shape) to see if it is populated correctly?