Remove "Submit All and Finish" Confirmation and "Return to Attempt" buttons

Remove "Submit All and Finish" Confirmation and "Return to Attempt" buttons

by Jim Johnson -
Number of replies: 2

Is there a way to remove the Submit All and Finish confirmation popup and to also remove the "Return to Attempt" button?  

I do not need either of these features and the "Submit All and Finish" popup breaks some functionality on mobile devices whereas the Return to Attempt button confuses some of our participants.

I have tried the search function on the forums and not come up with any answers that pertain to either of these issues.

Average of ratings: -
In reply to Jim Johnson

Re: Remove "Submit All and Finish" Confirmation and "Return to Attempt" buttons

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
You can only do this by editing the code. In this case, the code in mod/quiz/summary.php. Actually, that calls a method in mod/quiz/renderer.php to do the actual output.
In reply to Tim Hunt

Re: Remove "Submit All and Finish" Confirmation and "Return to Attempt" buttons

by david Illa -

in line 808 (renderer.php)  you could include 

$startattemptwarning=false;

that, I think, should work