Forum Discussion

MargaretWood762's avatar
MargaretWood762
Community Member
7 years ago

Drag and Drop two drag items to go on the same drop target

Hi I have set up a drag and drop quiz question where there are 4 drag items and 4 drop targets and there are two possibilities that are correct for the drag items. I have tried to set triggers with the two options but it is only working for one to one as set up in the Form View. I have also tried to add extra choice options in the Form View but I can't re-select the drag item. 

As a temporary measure I have set up state changes for incorrect but it is still confusing the the learner.

I'm sure there is a way can anyone assist? My project is a large file and not sure how to send just the one quiz question or just the quiz section. Attached is an image of the slide if that helps. 

12 Replies

  • BrianAllen's avatar
    BrianAllen
    Community Member

    Margaret, any way you could save a version of your project and delete all slides except this one? That would make it easy to share the problem slide here.

  • Hi Brian thank you,  yes almost. (I'm in Australia so may be a time lag between us. I appreciate your quick response.)

    I have saved the question as a separate story. You will see from the triggers what I am trying to achieve. Looking at your example maybe I am making it too complicated. Also, could be because I used a template.

    • BrianAllen's avatar
      BrianAllen
      Community Member

      Margaret, quick question: If you *deselect* "Allow only one item in each drop target" in your Drag & Drop Options, does your question then work the way you're trying to achieve?

      If I understand correctly, you have 4 drop targets, two are correct and two are decoys. You need to be able to drop two correct answers into each of the two correct drop targets.

  • Hi Brian

    Not exactly. Two of the drop targets 1 & 4 are correct for either the drag item Tyron or Clayton . Then the other two drop targets 2 & 3 are correct for either drag item Employee 1 & employee 2. 

    Basically the confusion is the order of one on one match instead of more than one option. I still only want one item for each drop target, just option between the two correct drag items. 

    Thanks

  • MichaelBauer's avatar
    MichaelBauer
    Community Member

    Hi Margaret, I presume I have this correct:

    - Item 1: Drop to A or B
    - Item 2: Drop to A or B
    - Item 3: Drop to C
    - Item 4: Drop to D

    Set up a multiple choice, just have True/False or whatever you like. Makes sense, however for the sake of covering it all, in Form View on the top right, make True to be the correct answer. Move this off to the side of the screen so the learner won't see it.

    Now, back to the Slide view.

    Create your 1/2/3/4 items and add a New State for each one, and also create your A/B/C/D drop spots. Now you are set up and ready to go!

    Trigger time!

    Action   Change state of
    On object   Item 1
    To state   New state
    When   Object dropped on
    Object   Item 1
    Dropped on   tick Drop Spot A and Drop Spot B

    Action   Change state of
    On object   Item 2
    To state   New state
    When   Object dropped on
    Object   Item 2
    Dropped on   tick Drop Spot A and Drop Spot B

    Action   Change state of
    On object   Item 3
    To state   New state
    When   Object dropped on
    Object   Item 3
    Dropped on   tick Drop Spot C

    Action   Change state of
    On object   Item 4
    To state   New state
    When   Object dropped on
    Object   Item 4
    Dropped on   tick Drop Spot D

    You have basically just set up what I proposed at the beginning, 1 and 2 can go on A or B, 3 must go on C, 4 must go on D :)

    The finale ...

    Action   Change state of
    On object   True (or whatever you have to be the correct answer)
    To state   Selected
    When   User clicks
    Object   Submit button
    On condition   Shape of Item 1 is New State AND Shape of Item 2 is New State AND Shape of Item 3 is New State AND Shape of Item 4 is New State

    Make sense?

    The 4 actions above change each item to the new state if they are correct. Now we have just said that if 1 is correct AND 2 is correct AND 3 is correct AND 4 is correct, to change your multiple choice selection to True when clicking Submit ... and while we are clicking Submit ... BINGO ... it will show the Correct Layer.

    What if it is wrong? You can show nothing OR if you want to show some incorrect feedback ...

    Action   Change state of
    On object   False (or whatever you have to be the correct answer)
    To state   Selected
    When   User clicks
    Object   Submit button
    On condition   Shape of Item 1 is not equal to New State OR Shape of Item 2 is not equal to New State OR Shape of Item 3 is not equal to New State OR Shape of Item 4 is not equal to New State

    So if any of the Items are incorrect, they will be in the Normal state, therefore do not equal New State, and as you are clicking Submit it will select False in your multiple choice quiz and there will show the incorrect layer.

    Don't look at it all and freak out OMG THERE IS SO MUCH AND IT IS SO CONFUSING, just do it bit by bit and you will be fine :)

  • Hey Ammar,

    Can I ask what are you trying to accomplish in your project file so we'll know what to check when we open it? If you give us a little more detail on what you’re trying to accomplish, I’m sure one of our talented community members will have suggestions for you if your inquiry is design related. 

    • Ammarlalika's avatar
      Ammarlalika
      Community Member

      i want to accomplis when i drop the drap items into correct drop rectangle .. check button show us correct answer.. 

      if i drop the drag items into incorrect one  while click on check button its us the layer incorrect

  • Ammarlalika's avatar
    Ammarlalika
    Community Member

    i want to accomplis when i drop the drap items into correct drop rectangle .. check button show us correct answer.. 

    if i drop the drag items into incorrect one  while click on check button its us the layer incorrect

  • Ammarlalika's avatar
    Ammarlalika
    Community Member

    i upload a file of my project   please see that u get my point.. waiting for your answer