Question numbers not appearing when taking the questionnaire

Question numbers not appearing when taking the questionnaire

by Claudette Kaveler -
Number of replies: 2

Just upgraded to 2.2

Question numbers do not appear when a student takes a questionnaire.  They do appear when you create the questionnaire, preview and print.

This is a problem if a student missed a question and is instructed to go back to question #24.  They have to search around to find it.

Does anyone else have this problem?  Did not occur with our previous version.

Average of ratings: -
In reply to Claudette Kaveler

Re: Question numbers not appearing when taking the questionnaire

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Claudette,

I expect you are using the Chrome browser. If not, please specify your browser (and its version).

I have just conducted some tests on my moodle local test site, and it appears that this lack of question numbers bug only appears on Chrome. It seems linked to bug report CONTRIB-3193 : Legend tag does not wrap question text in questionnaire module.

As a quick workaround, you can comment out 2 lines in your moodle/mod/questionnaire/questiontypes/questiontypes.class.php:

line 815        //echo html_writer::start_tag('legend', array('class' => 'qn-legend'));

and

line 832        //echo html_writer::end_tag('legend');

Joseph

In reply to Joseph Rézeau

Re: Question numbers not appearing when taking the questionnaire

by Claudette Kaveler -

Yes this works.  Thanks so much!

Claudette