Forum Discussion
JenniferMunro-d
5 months agoCommunity Member
Custom drag and drop issue
Hi all
I've created a custom drag and drop question - to enable partial scoring.
The scoring works well but I'd like to restrict use of the submit button until all options are dropped in target ...
SamiAwan
5 months agoCommunity Member
to fix the submit button issue, try using an additional check to see if all items are correctly placed in their target zones. You could add a state to track if items are currently being dragged. Then, only update your count when an item is fully dropped in a target zone or returned to the source zone, not just when it’s moved around.