Question types ::: qtype_gapfill
Maintained by Marcus Green
Cloze (fill in the blanks) question type with VERY simple question creation syntax. Can do drag drop, dropdowns or gapfill questions
Latest release:
3556 sites
92 fans
Current versions available: 9

As discussed in the Moodle Forum

Contribute translations for other languages

Contact Titus Learning for custom development and consultancy.

For any questions please post here


Screenshot #0
Screenshot #1


Marcus Green (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Oct 28, 2020, 9:13 AM
    "Instead of dragging answers into gaps, the answer will be clicked to select and then a gap will be clicked to drop into"

    I can do this on mobile phone browser
  • Thu, Oct 29, 2020, 12:38 AM
    That is how it works on the mobile app and I considered modifying the browser version to do the same but decided it was more work than I wanted to do.
  • Fri, Apr 2, 2021, 7:12 AM
    Hi, i really love this plugin, powerful and easy to use. But can gapfil disable the typing feature on asnwer column of the drag and drop mode? so the student only can do drag and drop to the column and not typing the answer in there
    thank you
  • Fri, Apr 2, 2021, 7:46 AM
    There is no current capability to do that. It might be possible to do it with CSS, but I have not current plans to do that, partly for accessibility for reasons.
  • Fri, Apr 2, 2021, 7:53 AM
    My first wild guess would be to add pointer-events: none; in the CSS file like this. But it might break other bits.
    .que.gapfill input.droptarget {
    text-align: center;
    cursor: pointer;
    pointer-events: none;
  • Sun, Apr 4, 2021, 8:17 AM
    .que.gapfill input.droptarget {
    text-align: center;
    cursor: pointer;
    pointer-events: none;
    it's works on drag and drop without breaking gapfill and dropdown type! thank you so much, Marcus Green
  • Mon, Apr 5, 2021, 5:21 PM
    Thank you for that, I have added a note to the documentation
  • Mon, Apr 5, 2021, 5:40 PM
    thank you so much
    i have a question
    the input character ' on gapfil or on short answer moodle always become a problem
    for example word : can't
    if student typing can't from mobile phone, the result always incorrect
    but if student answer from the laptop or computer the word can't always correct
    is that a bug on moodle on character ' ?
  • Mon, Apr 5, 2021, 5:58 PM
    I'don't know. When you say on a mobile phone, do you mean a mobile browser or from the app?
  • Mon, Apr 5, 2021, 6:18 PM
    Yes, the student using mobile browser, not the moodle app. I also check myself and it's true, moodle reads ' differently based from laptop/computer and mobile browser.. so it's hard for teacher to give short answer question on English subjects for the student
  • Mon, Apr 5, 2021, 7:44 PM
    Can you email me directly at marcusavgreen at gmail dot com
  • Mon, Jul 26, 2021, 7:51 PM
    Hello Marcus,
    I'm having the same trouble mentionned in with version 2.131 on Moodle LMS 3.10. I tested on a brand new 3.10 installation : using 2.10 is OK but when upgrading to 2.131, the display is not correct : navigation, administration... blocks are displayed in the bottom instead of the right panel.
  • Mon, Jul 26, 2021, 8:15 PM
    Hi Serge can you open a ticket here
    And can you confirm if the issue changes if you switch between options after text and confirm it happens with a core theme (e.g. Boost)
  • Tue, Dec 7, 2021, 4:06 PM
    Hi Marcus
    Apologies, I am having an issue, of my own making. I made a quiz using gap fill with square brackets, e.g.
    Place of lift off: [Kennedy Space Centre]
    I'd like to edit the possible answers so that it could include Kennedy Space Center/Kennedy Space Centre in Florida/ Kennedy Space Centre in Florida etc as options.
    I tried doing [Kennedy Space Center |Kennedy Space Centre in Florida | Kennedy Space Centre in Florida] etc as options but that made all of those answers mark as wrong.
    Any ideas what I should write please.
  • Wed, Dec 8, 2021, 5:45 AM
    Trailing spaces may be an issue, try [Kennedy Space Center|Kennedy Space Centre in Florida|Kennedy Space Centre in Florida]. Note the responses will be incorrect if there is more than one space between the entered word
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Please login to post comments