That seems to have worked but of course the next problem arises!
As I now have 2 quizzes (the second being dependent on the first not being passed) which I have even set as invisible until the first is failed. However, I am no longer able to see my general feedback, scores or anything else after the quiz is taken (when logged in as a student). Any suggestions?
Also there is a button that says "back to course" after the quiz is taken... The text above it says "No more attempts are allowed" which I would like to change. The only place I can find that text is in: moodle//mod/quiz/lang/en/quiz.php Line 521
$string['nomoreattempts'] = 'No more attempts are allowed';
Which I have changed to:
$string['nomoreattempts'] = 'You Have Failed The Quiz. If You Are Able Then Review Your Module And Try Again.';
and saved the file but it does not change the text I see. I still see "No more attempts are allowed".
Any ideas as to where I would change the text to be something different please?