RE: Online quiz

2005-10-03 Thread Katz, Dov B \(IT\)
I say keep it simple I do something like this for a dating site where I ask icebreaker questions Set up a table with questions and answers like this: QuestionID, QuestionText , QuestionIndex (for sorting, if you want) AnswerID, QuestionID, AnswerText, isCorrect , AnswerIndex (for sorting, if

RE: Online quiz

2005-10-03 Thread Andy Matthews
Stuart... form fields should never be plain numbers. Just tack on the string "answer" to your form field and you'll be good: this: form.answer4 instead of this: form.4 When you're comparing the answers, you could loop over how many questions there are instead of setting that part manually. A qui

RE: Online quiz

2005-10-03 Thread Adrian Lynch
I'd be suprised if it didn't throw a wobbly if you use numbers for your form names. Best not to. To answer the dynamic form names bit. Use array notation. #FORM["myForm_" & i]# Ade -Original Message- From: Saturday (Stuart Kidd) [mailto:[EMAIL PROTECTED] Sent: 03 October 2005