Making a Drag and Drop Score as Correct Using Triggers
Jul 07, 2021
More information below, but my basic question is is there any way to mark a drag and drop as correct using triggers instead of having the user actually drag the item?
Unfortunately I can't post my file, but I am working on a set of complex quiz questions that involve drag and drops with multiple correct answers. I'm trying to use the freeform drag and drop format, but for it to work correctly I need the "Correct" drag and drop combination to be off screen and selected using triggers when the user submits the question. When I use two triggers that say "when the user clicks submit change the state of 'drop correct rectangle' to 'drop correct' if the state of 'drop 1' = 'correct'" and "when the user clicks submit change the state of 'drag correct rectangle' to 'drag correct' if the state of 'drop 1 = correct'" it still marks it as incorrect. I placed this trigger before the "submit drag and drop" trigger and also made sure that those two were the only full set of drag and drops. I have a bunch of other "decoy" drags that change the state of the drop rectangles to be correct.
I also tried using the "select one" freeform workaround for this, but the problem with that is I don't see any way to limit drop targets to only one drag. Since users can drop multiple drags on the same drop and then remove them, it is possible to be marked as incorrect even when the correct answer is matched up. If there is a way to edit the drag and drop functionality to make it only one drag per drop when you make drag and drops using triggers instead of the actual question type that would be a solution as well.