Forum Discussion

ClaireLepretre's avatar
ClaireLepretre
Community Member
7 months ago
Solved

Labels disappear randomly on a Drag&Drop exercise #JavaScript #Storyline

Hello,  I have an issue wherein one the 6 labels may sometimes disappear when dropping my drag items.   Type of exercise: Drag and drop full Java script (not storyline graded question used) ...
  • LisaK-b221f671-'s avatar
    7 months ago

    Hi Claire, 

    as far as I can see, the issue is that the variable VariableDropTemp carries over from the previous slide. So the item that was dropped last on the first question slide will disappear on the second slide if you drag it onto the target first. 

    If you add a trigger that sets the variable to blank when the timeline starts on the second and third question slides, the problem should disappear.  




    Please do test it extensively after adding this trigger to make sure that adding it didn't break anything else.