SailorQing
03-01-2003, 08:53 PM
I tried to make a quiz with some help of http://www.youngsta.net/alexandra/quiztutorial.html and the quiz looks fine, but when you take it, the results don`t show up when you click "Results" Nothing happens at all. Help? My quiz ia at http://www.youngsta.net/alexandra/quiztutorial.html
starlet
03-01-2003, 11:51 PM
We need to link to your quiz, not the tutorial :)
But if nothings happening and your getting an error it means its not coded right...make sure you have no spaces in your options and note its CaSe SeNsItIvE
SailorQing
03-02-2003, 01:40 AM
Oops! The second link is supposed to be my quiz...I must`ve not copied the link right... my quiz is at http://www.geocities.com/hpdreamsforever/pairingquiz.html
starlet
03-02-2003, 02:46 AM
ok its because youve changed the names, they need to match up....example in the head section for question 1 you have
for (i = 0; i < f.one.length; i++) if (f.one[i].checked) value = f.one[i].value;
if (value == "1") { Harry++; }
if (value == "2") { Ron++; }
if (value == "3") { Hermione++; }
if (value == "4") { Draco++; }
if (value == "5") { Voldemort++; }
but in the body you have changed it to 'class'
1. You`ve been at Hogwarts for a while now, what`s your favorite class?</b><P>
<INPUT TYPE="radio" NAME="class" VALUE="1"> Flying Lessons!<BR>
<INPUT TYPE="radio" NAME="class" VALUE="2"> Pssssh! Classes are stupid...I like food!!<BR>
<INPUT TYPE="radio" NAME="class" VALUE="3"> Omgosh Omgosh Omgosh...I love EVERYTHING! Must study for Divination! Oo I have a test in Muggle Studies!<BR>
<INPUT TYPE="radio" NAME="class" VALUE="4"> Who cares?! I`ll just cheat in all of em!<BR>
<INPUT TYPE="radio" NAME="class" VALUE="5"> Muahahahahahahahahaha!!!
Change your name="whatever" parts back so they are name="one" for question one name="two" for question 2 etc etc
SailorQing
03-03-2003, 11:02 PM
Ooo...lemme try that, thanx! =)