Posts made by Joseph Rézeau

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Nicolai,
This is strange. Are you using the latest version of the Questionnaire module:
$Id: version.php,v 1.20 2007/01/18 15:56:00 mchurch Exp $
I can't see anything related to the error messages you report when I look at mod/questionnaire/locallib.php either on line 340 or on line 369.
Do you have debug mode on? Which level of error warning report: NONE; MINIMAL; NORMAL; ALL; DEVELOPER ?
Joseph
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Tim,

Thanks for your message. Too bad XTHML Strict have decided to abandon the <ol> and <li> start and value attributes, which would be quite useful in this case. And I think there are still a large number of "obsolete" tags in Moodle core code at the moment, no? Is it planned to remove them altogegher? for Moodle 1.9? or 2.0???

Em, what do you mean: " It would be nice to lose the HTML table altogether, and just use an *** to layout the question"?

I'll look into this ASAP and report here.

Joseph

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Phil,

Not sure I understand what you mean by "old and/or test respondents", but anyway there are two ways to remove "responses" from a questionnaire.

Method # 1 - one by one

If you don't have too many responses, you can delete them one by one. As teacher or admin, in your questionnaire, click on the link All responses: View n; next screen click on the View by response button; next screen: select responses one by one and click on the Delete This Response button; answer the message "Are you sure you want to delete the response by xxx?" by clicking on the Yes button, answer the "Deleted response 24 by xxx" message by clicking on the Continue button. Can be very tedious!

Method # 2 - bulk remove all responses from myquestionnaire01

Create a new Questionnaire, and name it e.g. myquestionnaire02

in:

Questionnaire Content:
Define New Content: Create new: Help
- OR -
Copy existing:
Select Name

Select the name of the Questionnaire that you want to empty all responses from (e.g. myquestionnaire01) . Save your questionnaire.

Now you have a questionnaire called myquestionnaire02 which has exactly the same content (the same questions) as your old myquestionnaire01 but with no responses in it.

If you want, you can delete the old myquestionnaire01 and rename Delete myquestionnaire02 to Delete myquestionnaire01.

Hope that helps,

Joseph