Questionnaire (plugin)

Enter key sends questionnaire

Picture of Peter Diedrichs
Enter key sends questionnaire

If you have written in a text box and by habit hits the enter button key to start a new paragraph the questionnaire is sent.

This problem isn't when you have an essay box, but since the teachers sometimes uses the text boxes this is a problem.

(Edited by Joseph Rézeau - original submission Monday, 7 October 2013, 6:11 PM)

Average of ratings: -
Picture of Joseph Rézeau
Re: Enter key sends questionnaire
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developersGroup TestersGroup Translators

It seems strange to try to enter a new paragraph in a text box, consisting of one line only! I've never heard of this "bug".

One workaround is to make all the questions "required" on that page.

Anyway, I will look into the matter and try to find a better solution.


EDIT.- Got it. Found a fix. CONTRIB-4672.

Average of ratings: -