Forum Discussion
Preventing submission on drag and drops until all items have been dragged
Hello
I have a slide with 9 items that need to be dropped over 3 targets. These have been built manually as there is partial scoring for each correct drop.
I need to be able to prevent users from hitting the submit button unless they have dragged all 9 items.
I have tried disabling the submit button with triggers to change state to normal once items have been dragged over but it doesn't work.
I have attached the slide - note I left the triggers I tried to control the change of state on the submit button in the file but disabled them.
I'd really appreciate some help with this, asap.
Kind regards
Jen
- DanielCanave618Community Member
Hi Jennifer. Is the objective to prevent the learner from clicking Submit until after they have dragged and dropped all 9 items into one of the 3 drop targets? Or, do you simply need to check if they have moved each item from their original position...?
- JenniferMunro-dCommunity Member
Hi Daniel
Thanks for you fast response. The intention is to make sure that the learner has dragged and dropped all 9 items on to the 3 drop targets.
Kind regards
Jen
- DanielCanave618Community Member
Gotcha. In that case, I would encourage you to look over the attached project I troubleshooted for another SL community member who was experiencing similar problems.
As you'll see, it'll require you to forgo using the built-in Dragged Over and Dropped Incorrect states, and instead opt for a custom Dropped state, and then tie those states to variables.
- DanielCanave618Community Member
To help illustrate what this new set up would look like for you with 3 drop targets instead of 5, I've revised the previously attached SL file.
- JenniferMunro-dCommunity Member
Hi Daniel
You are a hero. Thank you for providing your file so that I copy the variables and triggers. It worked?
Many thanks
Jen
- DanielCanave618Community Member
😊