Reversing submission of questionnaire

Reversing submission of questionnaire

by Ellen Kinsel -
Number of replies: 2

If a student clicks "finish" by mistake, can a teacher or manager reverse that action (i.e., can they return the questionnaire to unsubmitted status)?

Average of ratings: -
In reply to Ellen Kinsel

Re: Reversing submission of questionnaire

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

Hello Ellen wink

The only way you can do this is if - as admin - you have access to your Moodle database, e.g. using phpMyAdmin or similar database management system.

You'll have to find out the questionnaire's survey_id and the student's ID, and then you simply edit that line in the mdl_questionnaire_response table to change the "complete" value from "y" to "n", as shown on attached screenshot.

Hope that helps,

Joseph

Attachment 19-04-2012 09-56-54.jpg
In reply to Joseph Rézeau

Re: Reversing submission of questionnaire

by Ellen Kinsel -

Hi Joseph,

Thanks, as always, for your quick response. I was afraid this would be the case. It would be great for a teacher to be able to "unsubmit" on behalf of a student if they mistakenly clicked finish instead of save without having to totally delete the response or rely on an admin manipulating the database. Just a thought...

Ellen