numbas / Numbas

A completely browser-based e-assessment/e-learning system, with an emphasis on mathematics
http://www.numbas.org.uk
Apache License 2.0
199 stars 118 forks source link

"submit answers automatically" option #545

Open christianp opened 6 years ago

christianp commented 6 years ago

Some students doggedly refuse to submit answers until the very end, even though they're told they can resubmit. We need them to submit so that their answers are saved. An exam could have an option to automatically submit an answer when the input box loses focus (or an MCQ box is ticked/unticked). This would have to happen silently, so error messages should be suppressed. The feedback box should show a message like "Saved" when a part is submitted, instead of the "Submit part" button.

danil-sergeev commented 4 years ago

I'm pretty sure i could do it, but can you explain where i should bind my function to input and other things related to your architecture?

christianp commented 4 years ago

@yungcatx thanks for offering, but this feature is going to need quite a bit of thought, and will affect several places throughout the code, so isn't a good place to start working on Numbas. Please have a look at the issues labelled "good first issue".

christianp commented 4 years ago

At least in the LTI tool, the saving problem is solved by 6279d1cc00fc4d41. You might still want to automatically submit answers, so I'm leaving this open.

christianp commented 2 years ago

This is related to #783