Thank you Chardelle.
I used this on the our site, I work with Mike who started the post btw.
It works well however i found that there is a small delay which briefly still displays the lesson takers answers and wether they are correct or not. i spent a long while looking through the code trying to alter it and eventually found it was much easier to adjust the language file to miss out the $a-> part and write something more applicable, such as, 'your grades will be marked with 48hrs by your course tutor', so it no longer gives answers and progressive scoring/end score.
The lesson code you posted is great except for that small split second displaying.
We are using a modified 'lesson' into an 'exam' as a custom hack
so thats why we don't want to give away answers as these are marked after the exam (lesson) has been taken by one of our assessors.
Only problem is the exam taker (student) can still goto their grade by the standard manual way from the main page. Is there a way to delay this untill the exam(lesson) has been scored and marked or maybe a time delay of some sort (48 hrs hrs ideally) before updating the grade of the student??
I'd be really happy if this was possible, any suggestions? please?