maths / moodle-qtype_stack

Stack question type for Moodle
GNU General Public License v3.0
140 stars 149 forks source link

Validation not shown #1270

Open alcarola opened 1 day ago

alcarola commented 1 day ago

Hi,

In the attached multi-language question, I see no validation on my system, neither in Swedish nor in other languages.

Best, Mikael

No validation shown.zip

aharjula commented 1 day ago

So if I understand correctly, the question is whether AJAX validation should be active if "Student must verify" = "No"? Might be nice as the validation is still being displayed after one presses "Check"...

alcarola commented 1 day ago

Thanks a lot for the speedy help! Indeed, I turned on "Student must verify", and now the validation is displayed.

I interpreted "Show the validation" as controlling whether the validation is shown, and "Student must verify" as something else.

Am I the only one finding the naming/functions of these options confusiong, or something be changed here?

aharjula commented 1 day ago

I doubt anything has changed related to this in the last five years, maybe even last ten years, but I did not look at the history for that.

Typically, "student must verify" is combined with no validation display at all and people do not notice a thing then.

But as it controls whether the student must absolutely certainly have seen the validation message before the input can be graded, it does not necessarily immediately mean that validation could not also be displayed and thus the AJAX validation setup code should probably not rely on this but instead on whether there actually are any validation boxes...

alcarola commented 1 day ago

Okay, I'm not sure why it matters how long the situation has been the current one. I think that at a minimum, the labeling of the options needs to be improved.

I just instructed my students to wait for the validation box before they asked for a grading, to make sure that the system has registered their answer correctly. Then some students got confused that this exercise showed no validation. And I got confused that the validation did not show, even if I had enabled the option to show it. To me as an end user, AJAX is out of scope.

aharjula commented 1 day ago

Do note that when you set "student must verify" = "no", your students very specifically do not need to wait for anything things will be graded on the check button press. By default that is "yes", and people tend to turn it to the other value only when they do not want to display validation or maybe when they want to run the thing at maximum speed/minimal clicks and don't ever want to wait for validation to display.

Red your last line a bit fast and though you were asking if something has changed, that is the reason for the history comment. You are perfectly free to suggest better terms and push them down to the localisation. To me, however, the key thing is that the former parameter is not really the thing that should control instant/AJAX validation, but that is something that needs some more thought and opinions on whether AJAX validation is even an option anymore, surely we could assume it to be there always...

alcarola commented 1 day ago

Okay, thanks a lot for your input, and for considering this!