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:
4258 sites
108 fans
Current versions available: 11

As discussed in the Moodle Forum

Contribute translations for other languages

For custom development and consultancy contact Moodle Partner Catalyst EU (

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
  • 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
  • Fri, Sep 2, 2022, 6:47 PM
    Is there a way to provide feedback every time students try the answer? (not in the hint part but right after the gaps) Because fill the gap my question is a long essay, giving hints at the bottom may not be appropriate. I know after each attempt the feedback will show, but only after they have click the "Summit" button, is there a way, after they click the "Check" button, they can get feedback right after the gap?
  • Fri, Sep 2, 2022, 6:53 PM
    There is no capability for doing that. It is a nice idea but it would take a lot of custom development, or more likely a new question type. I cannot think of any other plugin/question type that would do that.
  • Fri, Sep 2, 2022, 6:57 PM
    Thankyou for answering so promptly! I see the questions in "cloze " type are able to provide feedback right after the questions when we click "Check". Is there a way to add "gap fill" exercise to Cloze questions?
  • Fri, Sep 2, 2022, 7:02 PM
    It is not possible to add Gapfill instances to Close, but I am interested in what you are asking. Does cloze add the hint information just after the space where the answer has been entered?
  • Fri, Sep 2, 2022, 7:03 PM
    To be clear are you referring to hint information or feedback (i.e. Correct, partially correct, Incorrect feedback)
  • Fri, Sep 2, 2022, 7:31 PM
    Sr my account got blocked for entering the code for Cloze question. I'm referring to the "incorrect answer feedback code" for Cloze question
  • Fri, Sep 2, 2022, 7:32 PM
    like this 2. She {1:SA:=had~*#the past form of "have"} a big breakfast.
  • Fri, Sep 2, 2022, 7:43 PM
    There is a video about this but I don't think it shows up properly here
    Search on Youtube for moodle gapfill per gap feedback
    This is the link but I suspect it beaks when displayed here
  • Fri, Sep 2, 2022, 9:25 PM
    Thankyou for your fast reply! I kinda feel guilty cuz I responded so slow but Yess, It does show after you click "check" but that is for ALL correct answers which makes it like clicking "finish attempt". But for wrong answers, when you click "check" it doesn't show anything, only when you click "finish attempt" does it show the feedback
  • Fri, Sep 2, 2022, 9:58 PM
    So can you confirm that is closer to what you were hoping for. I would have to experiment to remind myself how it behaves. I need to update the documentation to cover this feature.
  • Fri, Sep 2, 2022, 10:24 PM
    Yes, it is very close to what I'm looking for, thankyou very much for your support!
  • Sun, Sep 11, 2022, 2:10 PM
    Hi. I have a question. I'm using the moodle app with the plug in but when I hit "Check" (multiple attempts enabled) it doesn't display right or wrong (grean or red) but on the (mobile) web it display just fine. Is this a configuration error on my part or the plug in doesn't support it?
  • Sat, Oct 8, 2022, 12:18 PM
    In the choices list provided, sometimes there appears an extra "if!supportLists" choice. How can I fix the issue? Thank you!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Please login to post comments