Getting Drag and Drop items to appear in random order

Jul 12, 2021

I recently created the attached exercise for an economics course. The answers are given and need to be dragged to the appropriate box. In creating the exercise I assumed that I could shuffle the order the answers appear on the exercise. Unfortunately, many of the unused answers are at the end of the list I created in the Form Menu. If I am unable to mix the order, I do not mind changing the order they appear, but I could not see a way to move any of the questions up or down in the Forms Menu. Only the Delete Choice and Anchor Choice were highlighted. How could I either shuffle the answers or change the order?

4 Replies
Nedim Ramic

The only way to display drag items randomly is by utilizing JavaScript. You could stack them on top of each other to simulate the "Reveal drag items one at a time" option. The script arranges a group of elements randomly in the stacking order on the screen by assigning them different z-index values. Attached is a short video demonstrating this interaction.