Is the deadline for a Questionnaire visible?

Re: Is the deadline for a Questionnaire visible?

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

When a deadline is set to a Questionnaire, it does show up on the Moodle course calendar.

Not sure about how the course timeline works.

Could you ask your teacher what she means by "is not in the message"? What "message" does she mean?

In reply to Joseph Rézeau

Re: Is the deadline for a Questionnaire visible?

by Richard van Iwaarden -
Picture of Particularly helpful Moodlers

Hi Joseph,

Sorry for the late respons and thanks for reminding me to follow up.

What I think the teacher meant is this: an assignment shows this screen:



Notice the due date...


The Questionnaire just shows this (even with a due date set):


I think the teacher expected more info, at least the due date mentioned. Perhaps also even if you answered already... 

In reply to Richard van Iwaarden

Re: Is the deadline for a Questionnaire visible?

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers

When I have a close date set, this is what I see:


Screen grab

In reply to Mike Churchward

Re: Is the deadline for a Questionnaire visible?

by Richard van Iwaarden -
Picture of Particularly helpful Moodlers

Also when your close date is set in the future? I mean, as a deadline?

After closure it might show?


I'm on Fordson theme btw

In reply to Richard van Iwaarden

Re: Is the deadline for a Questionnaire visible?

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

Currently these different Moodle activities display their "availability dates" in different ways. This should really be standardized.

I am not talking about the way that those activities are displayed in the student's course calendar, that is another matter.

Here are such display messages for instances of activities which are not yet available and have a closing date.

A test assignment
This assignment will accept submissions from Saturday, 2 February 2019, 12:00 AM
Due date    Wednesday, 6 February 2019, 12:00 AM
Time remaining    5 days 12 hours

A test Quiz
The quiz will not be available until Saturday, 2 February 2019, 11:09 PM
This quiz will close at Tuesday, 12 February 2019, 11:03 PM
This quiz is not currently available

A test lesson
This lesson will be open on Saturday, 2 February 2019, 11:50 AM.

A test questionnaire
This questionnaire will not open until Saturday, 2 February 2019, 11:21 PM.

As can be seen, Assignment gives the most complete info, followed by Quiz. Questionnaire and Lesson only give the opening date info, not the closing date.

It should be trivial to add the closing date info for Questionnaire, such as in:

A test questionnaire
This questionnaire will not open until Saturday, 2 February 2019, 11:21 PM.
This questionnaire will close on Tuesday, 5 February 2019, 12:00 AM

by adding the relevant line in file mod/questionnaire/view.php somewhere between lines 70 and 130; and also adding the relevant string in the lang file.

Mike, what do you think?

Average of ratings: Useful (1)
In reply to Joseph Rézeau

Re: Is the deadline for a Questionnaire visible?

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers

I think standardizing the way these are displayed is a great idea. Seems like it should be a core API function.

For now, enter an issue at Github for the improvement so it can be discussed and worked on.