Mandatory to use all drag objects

Hi,
Is there a simple way to make it mandatory to use all drag objects for a drag and drop question to submit as complete?
I have 9 drag objects and 4 landing boxes and I want Submit to go to incomplete as long as not all the 9 items are in place - knowing that my boxes accept 3 then replace.
For the moment it goes to incomplete only if I don’t use any drag items
Is there a simple way to do this?
I think I could use events and variables but I believe they may be an easier way I cannot see.
Thanks,
Michael

Hi Michael,

Here are steps to do that:

  1. Create a True/False variable for incomplete action.
  2. Run javascript when the question is submitted to see if it’s complete or not and update the variable.
  3. Show incomplete feedback if the question is incomplete and show correct/incorrect feedback if it’s complete.

You can see this sample for more details: complete_all_drags.approj (232 KB)

Best regards,
Hang

Works great! Thanks a lot!