Forum Discussion
Triggers on a submit button for drag and drop
Thanks Luciana
Yes, Mick made a suggestion, though as I started suspecting it requires a very elaborate setup!
I've opted for just removing one of the prevention strategies so there is enough space for the submit button, but here is Mick's advice, for anyone who comes across this thread at a later date in need of the same or similar solution:
You will require T/F variables for each drop target that will change value when the learner drops the object on any drop target.
1. You need variables that will correspond to your Drag objects like this:
https://sharing.articulate.team/OAuvqb1G
These variables will change in value when the learner drops these to the target objects:
https://sharing.articulate.team/kpuvbLx7
2. Then you need a Toggle Trigger that will change to True, which will cause the state change to happen. It will also include T/F conditions, so it will only be satisfied when all T/F variables corresponding to each drag and drop item are all true, meaning all drag items have been moved to all drop targets.
https://sharing.articulate.team/nOu2k82Q
- LucianaPiazza3 months agoStaff
I'm so glad that Mick could discuss this with you, Jessica! Thank you for sharing in this thread, I'm sure it will be helpful to folks in a similar situation!
If any other questions or discoveries come up along the way, feel free to reach out in the community!