Forum Discussion

JohnJohnson-6a8's avatar
JohnJohnson-6a8
Community Member
1 day ago

Drag & Drop category names TO images of things

I'd like to do an interactive in which there are two categories of things, and many images. Learner will be asked to drag the Category TO the image they think is in one or the other category. I can imagine there being a "deck" of Category labels - enough for them to drag to all of the images. Can anyone explain how this could be sest up? I know I've seen it somewhere.

Thank you in advance!

4 Replies

  • I highly recommend that you set up the drag-and-drop so the user drags each image to one of the two categories. 

    The built-in functionality won't work for dragging category labels to the images. For example, suppose you have 3 images that belong to Category 1. A user might drag the first "Category 1" label to any of the appropriate images. But the built-in grading only allows 1 correct drop target per draggable item. 

    If you want the user to be able to see an overview of the selected category for each image before submitting their answer, you could use an alternate method. Instead of a drag-and-drop, have the user select a "Category 1" or "Category 2" button for each image. 

    • Set it up as a Multiple-Response question. (You could use a standard MR question slide, but it might be easier to create a Freeform one.)
    • Put the 2 buttons associated with each image into their own button set. That will ensure the user can only select one of the two buttons. 

     

    These posts, which include demo files, might provide some additional guidance:

  • Thank you, Judy. My motivation for wanting to drag labels to images is so that when the Learner is done, they can see which image goes with which label, as opposed to having the items they drag get visually swallowed up by the label they drag to, or jumbled in a pile.

    • JudyNollet's avatar
      JudyNollet
      Legend

      Yes, I thought that might be the case. That's why I suggested the alternate method using a Multiple-Response question.