Question types: Gapfill

qtype_gapfill
Maintained by Picture of Marcus GreenMarcus Green
Cloze (fill in the blanks) question type with VERY simple question creation syntax. Can do drag drop, dropdowns or gapfill questions
3321 sites
1k downloads
77 fans

As discussed in the Moodle Forum

https://moodle.org/mod/forum/discuss.php?d=203802

Contribute translations for other languages

Contact Titus Learning for custom development and consultancy.

Screenshots

Screenshot #0
Screenshot #1

Contributors

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

Comments RSS

Show comments
  • Picture of Marcus Green
    Sun, May 31, 2020, 1:53 AM
    Can you open an issue ticket here https://github.com/marcusgreen/moodle-qtype_gapfill/issues and give you moodle version, question type version and the theme you are using.
  • Picture of Elena Safiulina
    Thu, Jun 11, 2020, 2:46 PM
    Dear all !

    In recent years, GapFill questions have worked wonderfully with formulas that are not written in LaTeX. A few days ago, my colleagues and I found that all formulas stay with dollar signs. Perhaps this is due to the latest updates. Is there any hope that the LaTeX will be readable or that all questions will have to be redone?
  • Picture of Marcus Green
    Thu, Jun 11, 2020, 2:54 PM
    Could you post an example in the quiz forum. I don't quite understand your question. It will not allow LaTex to be used for the answer for gaps which is mentioned in the documentation here https://docs.moodle.org/38/en/Gapfill_question_type#Extended_Characters.
  • Picture of Elena Safiulina
    Thu, Jun 11, 2020, 6:19 PM
    Post is in the quiz forum "GapFill with Latex"
  • Picture of Hartmut Karrasch
    Fri, Jul 3, 2020, 7:11 PM
    We have a problem using the latest version of gapfill "Database Error"
    Moodle-Version 3.8.3+

    Debug-Info: Unknown column 'letterhints' in 'field list'
    SELECT answerdisplay, delimitchars, casesensitive, noduplicates, disableregex, fixedgapsize, optionsaftertext, letterhints FROM mdl_question_gapfill WHERE question = ?
    [array (
    0 => '32409',
    )]
    Error code: dmlreadexception
    Stack trace:

    line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
    line 1247 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
    line 1587 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
    line 1559 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
    line 1538 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
    line 824 of /question/type/questiontypebase.php: call to moodle_database->get_record()
    line 69 of /question/type/gapfill/questiontype.php: call to question_type->get_question_options()
    line 949 of /lib/questionlib.php: call to qtype_gapfill->get_question_options()
    line 1018 of /lib/questionlib.php: call to _tidy_question()
    line 175 of /mod/quiz/attemptlib.php: call to get_question_options()
    line 169 of /mod/quiz/locallib.php: call to quiz->load_questions()
    line 2459 of /mod/quiz/locallib.php: call to quiz_start_new_attempt()
    line 111 of /mod/quiz/startattempt.php: call to quiz_prepare_and_start_new_attempt()
    Any hints?
    Regards
    Hartmut
  • Picture of Marcus Green
    Fri, Jul 3, 2020, 7:54 PM
    A new column was introduced to the main table within the last few releases, and it looks like your installation does not have it.
    https://github.com/marcusgreen/moodle-qtype_gapfill/blob/master/db/install.xml
    Email me directly at marcusgreen at mailbox.org
  • Gain Oloya
    Fri, Jul 10, 2020, 2:03 PM
    I get validation error but my site is Moodle 3.1?
  • Picture of Marcus Green
    Fri, Jul 10, 2020, 3:17 PM
    That is not enough information to comment, what message did you get?
  • Picture of julia bonnin
    Mon, Oct 26, 2020, 6:03 PM
    Hi, first sorry for my approximative english. We use Gapfill (last release) in moodle 3.9.
    We have an HTML problem (with several theme) when we add a gapfill in a test.
    I investigated and find a "div" auto-closed :
    ... in the gapfill question part.
    It seems to me that is the origin of our HTML problem.
    Does that remind you of something ? If i'm not wrong, is it possible to fix it ?
    Thanks a lot and sorry if you notice that my investigation is finally wrong,
    Julia
  • Picture of julia bonnin
    Mon, Oct 26, 2020, 6:12 PM
    Sorry I can't write HTML code : it's div class answeroptions (auto-closed).
  • Picture of Marcus Green
    Mon, Oct 26, 2020, 7:05 PM
    Hi Julia, you may be experiencing the issue reported here https://github.com/marcusgreen/moodle-qtype_gapfill/issues/62. I anticipate releasing a new version of the plugin in the very near future.
  • Picture of julia bonnin
    Mon, Oct 26, 2020, 7:13 PM
    Yes it's this issue. Thanks a lot for your work.
  • Picture of Marcus Green
    Mon, Oct 26, 2020, 7:17 PM
    My apologies for this error, and thank you for your feedback. I hope to release the updated version within the next 24 hours.
  • Picture of Hoang Linh
    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
  • Picture of Marcus Green
    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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Please login to post comments