Drag and Drop Query

Okay...let's take a few steps back here...

The action that you need to create on the page is going to act on an object (i.e., hide the question object) based on whether a condition is met (the question object was placed on the proper drop target).

I think Trivantis tech support was kind of right in saying that it couldn't be done exactly the way that Ben suggested (please correct me if I'm wrong, Ben!), because Lectora won't let you select one of the "sub-objects" in the question group. (In other words, you can't specify "Choice 1" -- all you'll see in the list of possible objects to hide is the entire question group itself.) However, I'm thinking you can get around this by creating a series of one-item drag-and-drop questions.

So, assuming you've created separate questions, you'd need to create an page-level action for each drag-and-drop question, which would look something like this (I think):

On the General tab, select/type:

Action Name: HideUnsub1 (you can actually call the action anything you want, but I like to use highly descriptive names, because it makes it easier for me to see what the action's really doing. So, this might be a good name for the action that hides the first unsub.)On: TimerTimer Interval: .5 secondsAction: HideTarget: (Name of question object)

On the Condition tab, select "Perform action only if true," then select

Variable: (question variable name)Relationship: Is Correct

Does this help clarify things for you?

 

jpurcell said: Action Name: On TimerOn: hideAction: modify variableTarget: (Name of each variable created for each drop item)Value: VAR(Name of each variable created for each drop item)Modification Type: set variable contentsDelay before action .5 seconds

It doesn't work. Any suggestions? Where am I going wrong? Thank you.

Discussions have been disabled for this post