Issue with drag and drop reset to initial state

Hi, I have a question regarding the resetting of drag and drop items. I've got my slides resetting to initial state when revisiting to return the drag items back to their original position. Learner has 2 attempts and then I use a variable to show the incorrect layer if they get it wrong twice.

This is working great. My client wanted a counter on each quiz slide saying the total correct/total questions. I am using triggers/variables to display this and that works fine too.

The issue I have is that if the learner hits the PREV button and goes back to a drag and drop quiz slide, they get to resit the quiz question and it also adds to their total correct / total questions.

Is there a way to stop this from happening and still reset the drag and drop items to where they started from if they get the first attempt wrong?

Thanks for any help!

 

 

 

 

 

 

12 Replies
becky gray

Thanks for the suggestion. It is one option to get rid of the previous button as this would stop the learner going back to quiz slides but the client also has a menu which would allow the learner to access the quiz slides for a second, third time regardless if there were no prev buttons or not.

becky gray

Hi Christie

I thought I just replied to this but I can't see it in the discussion
thread so will repost

Thanks so much for taking a look at this - the slides are 1.4 and 1.8
I have deleted most of the module but left 2 of the quiz slides I'm having
the issue with.

Look forward to see what you can come up with.

Thanks again
Becky

Christie Pollick

Hi, Becky -- Thanks so much for your reply! It looks like what you have uploaded was the published output folder and I should clarify that what I was hoping you could share is your .story or source file. 

Please navigate to the thread itself, and you can use the grey ADD ATTACHMENT button in the bottom left of the reply box to browse/upload your file from there. :)

Christie Pollick

Hi, Becky -- Many thanks again for your patience!

As you can see here, when I tested your published output on the SCORM Cloud, I experienced the same behavior you had described. My suggestion to assist would actually mirror what Jennifer offered, however, you've mentioned that will not work for you. I would like to see what more our engineers could suggest to address this issue. I'll set you up in a case straight away and you will be contacted via email shortly thereafter. 

Michael Gallagher

Hi Becky,

You need to add 1 more variable to fix the issue. Create a variable (qq1completed [True/False]) that is set to false. Add a trigger to the Correct and Incorrect layers "Continue" button that sets that variable to true when clicked.

Now, on the Correct layer you have 2 triggers:

"Add 1.00 to total correct when the timeline starts" and

"Add 1.00 to totalslides when the timeline starts"

you need to edit those and add the condition: "On Condition - qq1completed = to false"

So, the first time the user tries the interaction, it works the way you have it now. If they come back to this screen, you already set the "qq1completed" variable to true, so when they retry the interaction, it won't add to the 2 variables "totalcorrect" and totalslides" because of the "qq1completed" variable already being true. I have attached the edited .story file for you to review.

I hope this helps.

Cheers

Mike G