Drag&drop fields allow the student to drag and drop images in the worksheet to classify or identify concepts.
For students to be able to drag images we will need to add at least two fields: a origin field, which will be the one to drag, and a destination field, where the dragged item can be dropped.
The type of field (Origin or Target) can be selected once the field has been added to the worksheet.
Both fields must have the same identifier for the autograding to identify them correctly. Several Drag fields can be associated with the same Drop field if they all have the same identifier. We can also have multiple Drop fields with the same identifier if it does not matter in which one the Drag is placed.
We can also mark a Drag field as having no Drop, so that we can show several options to the student and only one of them (the one with the specified Drop) is the correct one.
Fields that have the same identifier will have the same color border, so it's easy to know which ones are related.
On worksheets that have been created from an existing file, the background image will automatically be used for the drag field.
On worksheets that have been created from a blank page, it will be mandatory to upload an image for the drag fields.