How to set up a web quiz?
Hi All
I'm trying to find a way to set up a quiz on my website. The format would be
question -text box for answer- submit
I'd like the right answer to take the user to one page and the wrong asnswer to take the user to another page. Seems obvious to do this with a form BUT can I specify the exact text that must be in the box and can set the page the user is taken to for a wrong answer.
Or is there a better way to do this than a form?
Cheers
Steve
chrishirst posted this at 15:28 — 2nd August 2005.
He has: 379 posts
Joined: Apr 2005
It needs to be a form but the best way is to check the answers using server side code when the page is submitted.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.