View Full Version : source code for simple quiz
moravia
04-07-2004, 01:45 PM
I would like to create a simple quiz where the user would select the answers and then view the quiz results on line. What is the simplest way to this using html code?
ronaldb66
04-07-2004, 01:54 PM
To my knowledge this cannot be done using only HTML. The quiz results need to be processed in some way or another to determine the results which in any case requires some sort of script or program.
Employing server-side scripting for form processing seems the best way to keep the HTML clean and offers the possibility to do something with the results if need be.
I guess client-side scripting could pull it off as well, but using the results for anything else then displaying them immediately I think is not possible.
Vladdy
04-07-2004, 02:47 PM
If the quiz is for entertainment/educational purposes i.e. you do not track who takes the quiz and what the results are, the client side solution using javascript is possible: www.klproductions.com/klquiz.html
If you need to log the quiz results, or you require higher security for your data you need to use server side scripting.
The simplest way is to determine your requirements and then get one of the existing scripts that fit them.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.