I use Hotpotatoes quizzes from this site:
http://web.uvic.ca/hrd/hotpot/index.htm
I send the results by CGI to a flatfile text database and then show the results (% of Scores etc)
But I would like to have diffrent levels of comments depending on the percentage the student got in the test, for example:
If they get 10% or below the automatic comment would be E.G.:
You need to learn some more!
10% to 20%: You could do better!
20% to 30%: Not bat
etc etc....
70% to 80%: well done you passed
90% to 100% Fantastc! ....
I also would like to have a pass mark of 70% or over, so IF the student that takes the test gets 70% of more THEN I can show a button for the student to press and it would link to a certificate to print out. But if the students test results are 70% or below then the Button would not show.
It would also be nice if the script could show a "tick" image if any of the tests are over 70% or a red cross image if any of the scores are under 70%
Here is an image of a screen shot of something similar to what I mean:
http://www.planet-cyber.org/javascript_001.jpg
As you can see from the image I got an overall score of 80% for that course so the certificate button at the bottome will show I can thus print out my certificate but If I got under 70% it would not show.
Also you could see the tick images next to all the tests that I got right.
I seen things like this all over the net but I know nothing about Javascript to try it myself.
I very much look forward to a reply.
Best regards,
Edward