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
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
thank you
I can do this on mobile phone browser
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
https://github.com/marcusgreen/moodle-qtype_gapfill/blob/master/db/install.xml
Email me directly at marcusgreen at mailbox.org
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