Matching questions will be hard to answer with traditional html list select if it has many matches. I propose to have Drag and Drop UI to make it simple for quiz attendees. Please let me know your thoughts on this.

Comments

OpenChimp’s picture

This would be awesome. Especially for creating quizzes for children, this feature becomes very important. I don't know i the drag and drop UI supports it, but for very young kids it would be even better if the item pick up could be triggered by a single click (click to pick up, move cursor/item, click to drop).

turadg’s picture

I'd also like this functionality. Do you think it'll make it in 4.0?

sivaji_ganesh_jojodae’s picture

Assigned: Unassigned » sivaji_ganesh_jojodae

yes i will be doing this as a part of quiz 4.x.

falcon’s picture

Version: 6.x-4.x-dev » 6.x-5.x-dev
Status: Active » Postponed
juho-jaakkola’s picture

Version: 6.x-5.x-dev » 7.x-4.x-dev
Component: Code - Quiz module » Code - matching
Assigned: sivaji_ganesh_jojodae » juho-jaakkola
Issue summary: View changes
Status: Postponed » Needs work
Issue tags: -ToDo
StatusFileSize
new7.18 KB

This diff is work in progress. It still needs:

  • Enhancements to the UI/UX
  • Javascript cleanup
juho-jaakkola’s picture

StatusFileSize
new7.64 KB

WIP: Still needs at least some javascript cleanup

juho-jaakkola’s picture

StatusFileSize
new7.67 KB

Fixes the Toggle UI button from appearing in more than one location.

juho-jaakkola’s picture

juho-jaakkola’s picture

StatusFileSize
new7.88 KB

- Makes handle icon (draggable.png) independent of module location
- Adds more detailed css

Using relative path in background image value caused trouble because the module may or may not be located in a subdirectory. Now the element uses the tabledrag-handle class so the css declaration comes from Drupal core.

attheshow’s picture

Version: 7.x-4.x-dev » 7.x-5.x-dev
juho-jaakkola’s picture

Component: Code - matching » Code - Quiz core
StatusFileSize
new8.15 KB

- Allows moving already dropped elements and reverts them to original position

(Patch is meant for 7.x-4.x)

juho-jaakkola’s picture

StatusFileSize
new8.37 KB

- Start event now removes possible classes added by the drop event
- Disallows dragging elements outside the content area

juho-jaakkola’s picture

StatusFileSize
new8.39 KB

- Fixes jQuery selector used for finding question text for drag&drop UI

smustgrave’s picture

Status: Needs work » Closed (outdated)

With D7 approaching EOL soon I've started the process of triaging the D7queue here. Since there hasn't been any movement on this going to close out.