Drag and drop into text

Question types ::: qtype_ddwtos
Maintained by TimTim Hunt, Jamie Pratt, at the OU (Perry building)Mahmoud Kassaei, Phil Butcher
Part of set Open University.
A drag and drop question type where missing words have to be dragged into gaps in a paragraph of text.
Latest release:
71 sites
35 downloads
56 fans
Current versions available: 6

There are working examples in eAssessment with Moodle on our OpenLearn site.

The documentation is in How to create questions in Moodle on that site.

Demonstration of this question type courtesy of Dot Garman.

Screenshots

Screenshot #0

Contributors

Tim
Tim Hunt (Lead maintainer)
Jamie Pratt: Developer
at the OU (Perry building)
Mahmoud Kassaei: Developer
Phil Butcher: Question type designer
Colin Chambers: Developer
Please login to view contributors details and/or to contact them

Comments RSS

Отобразить комментарии
  • Alexandre Trevisani
    вт, 5 апр. 2016, 23:51
    Matt Wood.
    In fact I've managed to include "blank answers" assigning the html code &nbsp to one of the items. It renders a blank square that can be dragged and dropped.
  • Marco Caresia
    пн, 7 нояб. 2016, 18:25
    Hi! The question type is great!
    Is there an upgrade to 3+ foreseen?
    Thank you!
    --
    MC
  • Tim
    пн, 7 нояб. 2016, 19:18
    In Moodle 3.0+ this is a standard question type that comes as part of the main install.
  • Achim Eichhorn
    ср, 13 июн. 2018, 12:17
    For mathematical and/or technical questions it would be very desirable if we could use LATeX code within the drag boxes. MathJAX works very well with Moodle, but in the draxboxes the code is not interpreted by MathJAX. I suppose, after Javascript has created the dragboxes, would the MathJAX Hub have to be called again?

    If we want to implement this behavior into the "drag and drop text questions" ourselves, where in the source code would be the appropriate place?

    I could imagine to program my own question type "Drag Drop LATeX", which inherits from the existing D'n'D classes, but implements Javascript for MathJAX.

    I am very grateful for any information.

    Yours sincerely Achim
  • Achim Eichhorn
    ср, 13 июн. 2018, 15:37
    In addition to my former comment. When adding following JS to the additional HTML Header Section: the LaTeX in my dragboxes is interpreted. And I can drag'n'drop the boxes. BUT, the dimensions of the dragboxes are those of the uninterpreted content!
    I think there is a race-condition between D'n'D javascript and MathJAX javascript.

    I had a glance at ddwtos.js. There is a method "initializer" which calls "set_padding_sizes_all()".
    My guess is, that, if LaTeX would be rendered before this method is called, everything should work fine.

    Could anyone assist me here? I think this could be helpful for everyone developing mathematical/technical content!

    Yours sincerly Achim
  • Achim Eichhorn
    ср, 13 июн. 2018, 15:40
    Sorry, my jacascript in the former comment was removed. I called within window.onload the typesetting for mathjax hub.
  • Tim
    ср, 13 июн. 2018, 20:15
    Right, the reason maths in drag items was disabled was because of that race condition, which we could not find a fix for at the time. It must be possible to fix, but someone has to work out how. It would certainly be good to allow maths etc. in drag items.
  • Ibrahim Fadl
    вт, 18 февр. 2020, 13:42
    Hello,

    I cannot drag from my mobile it is scrolling the screen when trying to drag.
  • let's dance
    вт, 30 июн. 2020, 17:45
    I have also had several students in the last few days tell me that they can no longer drag text items. This has been since the upgrade to Moodle 3.9, although I don't know if that is the cause of it or not. I tested a quiz on my iPhone and found that I had the same problem. Using "Gapfill" to accomplish this same function seems to work as a suitable "replacement", but since drag and drop into text is now core .....
  • Tim
    вт, 30 июн. 2020, 17:54
    Known issue. Fix is in the pipeline MDL-69104.
  • Hoang Linh
    ср, 28 окт. 2020, 09:21

    I can do this on mobile phone browser???
    "Instead of dragging answers into gaps, the answer will be clicked to select and then a gap will be clicked to drop into"
  • Tim
    ср, 28 окт. 2020, 18:00
    This plugin has been part of standard Moodle for years. This is not a good place to discuss it.
  • Joseph Hyatt
    чт, 12 нояб. 2020, 05:59
    Hi, I want to use the Drag and Drop into text for a quiz, but how do I make it so if the student gets any of the drag to drop into text questions wrong the whole answer is wrong? An all or nothing type of question.
  • Kampanart Udomchian
    пн, 10 окт. 2022, 12:56
    If I have found something strange (or maybe I have done something incorrectly), HOW and WHERE can I give the feedback to find out the possible cause ... Thank you. @Tim Hunt and Developer.
  • Tim
    пн, 10 окт. 2022, 16:27
    The quiz forum is a good place to start. https://moodle.org/mod/forum/view.php?id=737
1 2 3 4 5 6 7
Please login to post comments