Freeform hotspot and drag and drop -- not working

Nov 02, 2016

Searched around a bit, but  could not seem to find an answer to this one...I created a freeform hotspot graded slide (attached) and want it to work as follows:

When the learner drags the hand image to a hotspot, it submits the interaction. They are given 2 attempts. 

  • When the learner drags the hand to the face (correct hotspot) they get feedback on that choice and click Continue to go to the next slide. 
  • When the learner drags the hand to either of the two incorrect hotspots, they get feedback on that choice and click Continue to hide the layer and try again, or, if it's the 2nd attempt, click Continue to go the next slide.

I'm getting all kinds of weird behavior, like error message saying I have an invalid answers...Maybe hotspot doesn't play well with drag and drop? Any help would be appreciated!

12 Replies
Edward Crane

Thanks, Wendy. When you say you changed it, did you insert a new freeform D&D slide and copy and paste the objects over? Not sure if there is a way to change a slide from one to type to the other.

The slide you created only has one hotspot; the ones I am creating have multiple, and I wanted to have it with feedback for each. I think there was a reason I chose the hotspot slide instead of D&D but can't think of it now. 

Thanks again. I'll let you know how it goes. 

Wendy Farmer

Hi Edward

I duplicated your slide, then removed freeform and then inserted freeform as D & D.

You could create drop correct, drop incorrect states on the hand and then instead of hotspots have transparent shapes on the correct / incorrect spots on the image. Few more triggers but I think you would achieve what you wanted.

Happy to have a go for you - do you want the feedback to appear as soon as the drop happens or when the user clicks submit?

Edward Crane

I remember now...the Hotspot slide creates a correct hotspot and incorrect hotspots, which is convenient for creating quiz questions. Drag to correct, and it's correct...drag to incorrect, and it's incorrect. 

The D&D slide only allows 1-to-1 item-to-target drag and drop....in other words, when I set up the hand as the item to drag to the correct hotspot target, it does not then allow me to set up the hand to drag to any incorrect hotspot targets...the hand is no longer available as an item. So I'm trying to think now of how I would set it up to be "incorrect" after 2 attempts...

Edward Crane
Wendy Farmer

Hi Edward

I duplicated your slide, then removed freeform and then inserted freeform as D & D.

You could create drop correct, drop incorrect states on the hand and then instead of hotspots have transparent shapes on the correct / incorrect spots on the image. Few more triggers but I think you would achieve what you wanted.

Happy to have a go for you - do you want the feedback to appear as soon as the drop happens or when the user clicks submit?

Sure, if you have the time, I'd appreciate it. Not really sure what you mean about the states on the hand. I would like the submission to happen as soon as the drop happens. 

Hopefully I can still use the Hotspot slide and am just missing something...the workaround seems like it's going to be time consuming. 

 

Edward Crane

Wendy - I really appreciate your work on this....this is really good.

I'm trying to get the learner to get a Try Again prompt and/or layer on the first attempt but on the 2nd attempt get the Incorrect layer with some remediation. 

Feel like I've got it pretty close using D&D, but still getting unexplained behavior and after many hours, frustration has set it...I think what I will end up doing is creating a hotspot slide and having the learner click on the correct place rather than drag an image. Here is the latest file I came up with in case you have time to take a look. 

EDIT: The problem I'm having with it now is that I can't get the Incorrect layer to show after two attempts...the hand just disappears...

Wendy Farmer

Hi Edward

take a look at updated D&D - you were referencing two different attempt variables in your triggers - attemptCount and attemptEC...

I had created the variable 'attempts' as when I return to the slide and make the hand go back to it's original state the built in 'attemptCount' variable which is created when you select the number of attempts from the dropdown on the options tab - doesn't work.

With the file now - if they drag hand to pocket they get try again, if they drag hand to corner they get try again, then the face - continue.  Or do you only want two attempts in total? 

Edward Crane

Eureka! What was screwing things up were the variable mix-up, as you pointed out, and also the Submit interaction triggers.

In the Form View of the D&D slide, I changed the Attempts to Unlimited and instead use the attemptsEC variable.

Apparently there should only be one Submit interaction trigger to submit the interaction: when the learner drags the hand to the correct hotspot. If the learners does not (after 2 attempts), the interaction is apparently submitted automatically as incorrect. This is counter-intuitive IMHO. 

I had 2 "Submit interaction" triggers: one for the correct D&D and the other for dragging to incorrect hotspots twice. I removed the 2nd one. 

It's working the way I want it to...Yea! Attaching in case you or other wish to see the final result. Thanks again for your help and for pointing me in the right directions!

Edward Crane

Thanks, Wendy. Thinking I may do a tutorial on this. I think it's a useful interaction, but takes a lot of steps, including this last one: I added this trigger to the Continue buttons on the Correct and Incorrect layers and made it the first trigger in the list:

Set AttemptsEC equal to 0 when the user clicks

This way, I can use the variable on the next slide. 

This discussion is closed. You can start a new discussion or contact Articulate Support.