S
shandain
Ok, I have done this a million times, and I can't get this to work...
I hope I am just being an idiot and missing something... but I can't
see it... so please call me an idiot and tell me what it is...
<code>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<title>Online Orientation Quiz</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script language="javascript">
<!--
function myFunction(myRadioGroup,myCorrectAnswer){
var pointValue=0;
var answerChosen=false;
for (var i=0; i<document.myForm[myRadioGroup].length; i++) {
if (document.myForm[myRadioGroup].checked) {
if(document.myForm[myRadioGroup].value==myCorrectAnswer){
answerChosen=true;
//alert(myRadioGroup+' is correct.');
pointValue++;
} else {
pointValue=0;
};
} ;
};
if (!answerChosen){
pointValue=0;
}
return pointValue;
};
function validate()
{
alert(document.forms(0).submit());
}
//-->
</script>
<link href="http://www.fvtc.edu/style.css" rel="stylesheet"
type="text/css">
</HEAD>
<body>
<h2><IMG alt="Orientation Logo"
src="http://www.fvtc.edu/Files/OrietationLogo201-43111414.jpg"
align="right"> Online Orientation Quiz</h2>
<form name="myForm" method=post action="mytarget.html" id="myForm">
<OL>
<li>
Students may access their personal information online through
_____<br>
<br>
<input type="radio" name="radQ1" value="Yahoo" ID="Radio13">
<label for="Radio13">Yahoo!</label><BR>
<input type="radio" name="radQ1" value="Hotmail" ID="Radio14">
<label for="Radio14">Hotmail</label><BR>
<input type="radio" name="radQ1" value="MyFVTC" ID="Radio37">
<label for="Radio37">MyFVTC</label><BR>
<input type="radio" name="radQ1" value="Web Advisor" ID="Radio76">
<label for="Radio76">Web Advisor</label><BR>
<BR>
<li>
Dropping courses or a program at FVTC is a _____
responsibility.<br>
<br>
<input type="radio" name="radQ2" value="Counselors" ID="Radio1">
<label for="Radio1">Counselor's</label><BR>
<input type="radio" name="radQ2" value="Students" ID="Radio2">
<label for="Radio2">Student's</label><BR>
<input type="radio" name="radQ2" value="Registration" ID="Radio3">
<label for="Radio3">Registration</label><BR>
<input type="radio" name="radQ2" value="Parents" ID="Radio4">
<label for="Radio4">Parent's</label><BR>
<BR>
<li>
When planning your schedule and for any advice regarding your
program or a
personal nature, you should seek the advice of:<br>
<br>
<input type="radio" name="radQ3" value="Webmaster" ID="Radio5">
<label for="Radio5">Webmaster</label><BR>
<input type="radio" name="radQ3" value="Dean of Students"
ID="Radio6">
<label for="Radio6">Dean of Students</label><BR>
<input type="radio" name="radQ3" value="Academic Counselor"
ID="Radio7">
<label for="Radio7">Academic Counselor</label><BR>
<input type="radio" name="radQ3" value="Another student"
ID="Radio8">
<label for="Radio8">Another student</label><BR>
<BR>
<li>
A prerequisite is something you must do, or a class you must take,
before you
enroll in the next one that specifically requires it?
<br>
<br>
<input type="radio" name="radQ4" value="True" ID="Radio9">
<label for="Radio9">True</label><BR>
<input type="radio" name="radQ4" value="False" ID="Radio10">
<label for="Radio10">False</label><BR>
<BR>
<LI>
As an FVTC student, you are responsible for any communication that
is made
available to you. Important college information will be sent
via:
<br>
<br>
<input type="radio" name="radQ5" value="My home" ID="Radio11">
<label for="Radio11">My home</label><BR>
<input type="radio" name="radQ5" value="My FVTC e-mail"
ID="Radio12">
<label for="Radio12">My FVTC e-mail</label><BR>
<input type="radio" name="radQ5" value="My parents" ID="Radio15">
<label for="Radio15">My parents</label><BR>
<input type="radio" name="radQ5" value="Another student"
ID="Radio16">
<label for="Radio16">My cell phone</label><BR>
<BR>
<LI>
Student ID's are needed on campus. I can obtain that at:<br>
<br>
<input type="radio" name="radQ6" value="Registration"
ID="Radio17">
<label for="Radio17">Registration</label><BR>
<input type="radio" name="radQ6" value="Student Life"
ID="Radio18">
<label for="Radio18">Student Life</label><BR>
<input type="radio" name="radQ6" value="Information Center"
ID="Radio19">
<label for="Radio19">Information Center</label><BR>
<input type="radio" name="radQ6" value="My classroom"
ID="Radio20">
<label for="Radio20">My classroom</label><BR>
<BR>
<LI>
If I drop a class, in order to get a 100% refund I will need to
contact
Registration:
<br>
<br>
<input type="radio" name="radQ7" value="The day the class starts"
ID="Radio21">
<label for="Radio21">The day the class starts</label><BR>
<input type="radio" name="radQ7" value="One business day prior to
the day the class starts"
ID="Radio22">
<label for="Radio22">One business day prior to the day the class
starts</label><BR>
<input type="radio" name="radQ7" value="Anytime" ID="Radio23">
<label for="Radio23">Anytime</label><BR>
<BR>
<LI>
If I need to be contacted while in class, an all school page will
be given so I
can pick up a message:<br>
<br>
<input type="radio" name="radQ8" value="True" ID="Radio24">
<label for="Radio24">True</label><BR>
<input type="radio" name="radQ8" value="False" ID="Radio25">
<label for="Radio25">False</label><BR>
<BR>
<LI>
Parking at FVTC:<br>
<br>
<input type="radio" name="radQ9" value="Costs $25.00 per year"
ID="Radio26">
<label for="Radio26">Costs $25.00 per year</label><BR>
<input type="radio" name="radQ9" value="Costs $25.00 each
semester" ID="Radio27">
<label for="Radio27">Costs $25.00 each semester</label><BR>
<input type="radio" name="radQ9" value="Is free if I park in
student parking" ID="Radio28">
<label for="Radio28">Is free if I park in student
parking</label><BR>
<input type="radio" name="radQ9" value="None of the above"
ID="Radio29">
<label for="Radio29">None of the above</label><BR>
<BR>
<LI>
Lost and Found is located in:<br>
<br>
<input type="radio" name="radQ10" value="Student Life"
ID="Radio30">
<label for="Radio30">Student Life</label><BR>
<input type="radio" name="radQ10" value="Information"
ID="Radio31">
<label for="Radio31">Information</label><BR>
<input type="radio" name="radQ10" value="Security" ID="Radio32">
<label for="Radio32">Security</label><BR>
<input type="radio" name="radQ10" value="Financial Aid"
ID="Radio33">
<label for="Radio33">Financial Aid</label><BR>
<BR>
<LI>
Student Employment Services:<br>
<br>
<input type="radio" name="radQ11" value="Provides information on
jobs available" ID="Radio34">
<label for="Radio34">Provides information on jobs
available</label><BR>
<input type="radio" name="radQ11" value="Is a resource center for
resume and interviewing tips"
ID="Radio35">
<label for="Radio35">Is a resource center for resume and
interviewing tips</label><BR>
<input type="radio" name="radQ11" value="Has on campus interviews"
ID="Radio36">
<label for="Radio36">Has on campus interviews</label><BR>
<input type="radio" name="radQ11" value="All the above"
ID="Radio38">
<label for="Radio38">All the above</label><BR>
<input type="radio" name="radQ11" value="None of the above"
ID="Radio39">
<label for="Radio39">None of the above</label><BR>
<BR>
<LI>
Special Needs is where students need to go if they are looking for
peer
tutoring.<br>
<br>
<input type="radio" name="radQ12" value="True" ID="Radio40">
<label for="Radio40">True</label><BR>
<input type="radio" name="radQ12" value="False" ID="Radio41">
<label for="Radio41">False</label><BR>
<BR>
<LI>
The Library has:
<br>
<br>
<input type="radio" name="radQ13" value="Rooms for small groups to
meet" ID="Radio42">
<label for="Radio42">Rooms for small groups to meet</label><BR>
<input type="radio" name="radQ13" value="Internet resources"
ID="Radio43">
<label for="Radio43">Internet resources</label><BR>
<input type="radio" name="radQ13" value="Resource loans from other
schools" ID="Radio44">
<label for="Radio44">Resource loans from other schools</label><BR>
<input type="radio" name="radQ13" value="Computer access"
ID="Radio45">
<label for="Radio45">Computer access</label><BR>
<input type="radio" name="radQ13" value="All of the above"
ID="Radio47">
<label for="Radio47">All of the above</label><BR>
<input type="radio" name="radQ13" value="None of the above"
ID="Radio46">
<label for="Radio46">Two of the above</label><BR>
<BR>
<LI>
For fall 2005 classes, my tuition fees are due on:<br>
<br>
<input type="radio" name="radQ14" value="July 27, 2005"
ID="Radio48">
<label for="Radio30">July 27, 2005</label><BR>
<input type="radio" name="radQ14" value="The first day of class"
ID="Radio49">
<label for="Radio31">The first day of class</label><BR>
<input type="radio" name="radQ14" value="August 15, 2005"
ID="Radio50">
<label for="Radio32">August 15, 2005</label><BR>
<input type="radio" name="radQ14" value="June 30, 2005"
ID="Radio51">
<label for="Radio33">June 30, 2005</label><BR>
<BR>
</LI>
</OL>
<p align="center">
<input type="button" name="submit" value="Submit" ID="Button1"
onclick="validate();">
<input type="reset" name="Submit2"
value="Reset" ID="Reset1">
</p>
</form>
<P> </P>
</body>
</HTML>
</code>
I hope I am just being an idiot and missing something... but I can't
see it... so please call me an idiot and tell me what it is...
<code>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<title>Online Orientation Quiz</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script language="javascript">
<!--
function myFunction(myRadioGroup,myCorrectAnswer){
var pointValue=0;
var answerChosen=false;
for (var i=0; i<document.myForm[myRadioGroup].length; i++) {
if (document.myForm[myRadioGroup].checked) {
if(document.myForm[myRadioGroup].value==myCorrectAnswer){
answerChosen=true;
//alert(myRadioGroup+' is correct.');
pointValue++;
} else {
pointValue=0;
};
} ;
};
if (!answerChosen){
pointValue=0;
}
return pointValue;
};
function validate()
{
alert(document.forms(0).submit());
}
//-->
</script>
<link href="http://www.fvtc.edu/style.css" rel="stylesheet"
type="text/css">
</HEAD>
<body>
<h2><IMG alt="Orientation Logo"
src="http://www.fvtc.edu/Files/OrietationLogo201-43111414.jpg"
align="right"> Online Orientation Quiz</h2>
<form name="myForm" method=post action="mytarget.html" id="myForm">
<OL>
<li>
Students may access their personal information online through
_____<br>
<br>
<input type="radio" name="radQ1" value="Yahoo" ID="Radio13">
<label for="Radio13">Yahoo!</label><BR>
<input type="radio" name="radQ1" value="Hotmail" ID="Radio14">
<label for="Radio14">Hotmail</label><BR>
<input type="radio" name="radQ1" value="MyFVTC" ID="Radio37">
<label for="Radio37">MyFVTC</label><BR>
<input type="radio" name="radQ1" value="Web Advisor" ID="Radio76">
<label for="Radio76">Web Advisor</label><BR>
<BR>
<li>
Dropping courses or a program at FVTC is a _____
responsibility.<br>
<br>
<input type="radio" name="radQ2" value="Counselors" ID="Radio1">
<label for="Radio1">Counselor's</label><BR>
<input type="radio" name="radQ2" value="Students" ID="Radio2">
<label for="Radio2">Student's</label><BR>
<input type="radio" name="radQ2" value="Registration" ID="Radio3">
<label for="Radio3">Registration</label><BR>
<input type="radio" name="radQ2" value="Parents" ID="Radio4">
<label for="Radio4">Parent's</label><BR>
<BR>
<li>
When planning your schedule and for any advice regarding your
program or a
personal nature, you should seek the advice of:<br>
<br>
<input type="radio" name="radQ3" value="Webmaster" ID="Radio5">
<label for="Radio5">Webmaster</label><BR>
<input type="radio" name="radQ3" value="Dean of Students"
ID="Radio6">
<label for="Radio6">Dean of Students</label><BR>
<input type="radio" name="radQ3" value="Academic Counselor"
ID="Radio7">
<label for="Radio7">Academic Counselor</label><BR>
<input type="radio" name="radQ3" value="Another student"
ID="Radio8">
<label for="Radio8">Another student</label><BR>
<BR>
<li>
A prerequisite is something you must do, or a class you must take,
before you
enroll in the next one that specifically requires it?
<br>
<br>
<input type="radio" name="radQ4" value="True" ID="Radio9">
<label for="Radio9">True</label><BR>
<input type="radio" name="radQ4" value="False" ID="Radio10">
<label for="Radio10">False</label><BR>
<BR>
<LI>
As an FVTC student, you are responsible for any communication that
is made
available to you. Important college information will be sent
via:
<br>
<br>
<input type="radio" name="radQ5" value="My home" ID="Radio11">
<label for="Radio11">My home</label><BR>
<input type="radio" name="radQ5" value="My FVTC e-mail"
ID="Radio12">
<label for="Radio12">My FVTC e-mail</label><BR>
<input type="radio" name="radQ5" value="My parents" ID="Radio15">
<label for="Radio15">My parents</label><BR>
<input type="radio" name="radQ5" value="Another student"
ID="Radio16">
<label for="Radio16">My cell phone</label><BR>
<BR>
<LI>
Student ID's are needed on campus. I can obtain that at:<br>
<br>
<input type="radio" name="radQ6" value="Registration"
ID="Radio17">
<label for="Radio17">Registration</label><BR>
<input type="radio" name="radQ6" value="Student Life"
ID="Radio18">
<label for="Radio18">Student Life</label><BR>
<input type="radio" name="radQ6" value="Information Center"
ID="Radio19">
<label for="Radio19">Information Center</label><BR>
<input type="radio" name="radQ6" value="My classroom"
ID="Radio20">
<label for="Radio20">My classroom</label><BR>
<BR>
<LI>
If I drop a class, in order to get a 100% refund I will need to
contact
Registration:
<br>
<br>
<input type="radio" name="radQ7" value="The day the class starts"
ID="Radio21">
<label for="Radio21">The day the class starts</label><BR>
<input type="radio" name="radQ7" value="One business day prior to
the day the class starts"
ID="Radio22">
<label for="Radio22">One business day prior to the day the class
starts</label><BR>
<input type="radio" name="radQ7" value="Anytime" ID="Radio23">
<label for="Radio23">Anytime</label><BR>
<BR>
<LI>
If I need to be contacted while in class, an all school page will
be given so I
can pick up a message:<br>
<br>
<input type="radio" name="radQ8" value="True" ID="Radio24">
<label for="Radio24">True</label><BR>
<input type="radio" name="radQ8" value="False" ID="Radio25">
<label for="Radio25">False</label><BR>
<BR>
<LI>
Parking at FVTC:<br>
<br>
<input type="radio" name="radQ9" value="Costs $25.00 per year"
ID="Radio26">
<label for="Radio26">Costs $25.00 per year</label><BR>
<input type="radio" name="radQ9" value="Costs $25.00 each
semester" ID="Radio27">
<label for="Radio27">Costs $25.00 each semester</label><BR>
<input type="radio" name="radQ9" value="Is free if I park in
student parking" ID="Radio28">
<label for="Radio28">Is free if I park in student
parking</label><BR>
<input type="radio" name="radQ9" value="None of the above"
ID="Radio29">
<label for="Radio29">None of the above</label><BR>
<BR>
<LI>
Lost and Found is located in:<br>
<br>
<input type="radio" name="radQ10" value="Student Life"
ID="Radio30">
<label for="Radio30">Student Life</label><BR>
<input type="radio" name="radQ10" value="Information"
ID="Radio31">
<label for="Radio31">Information</label><BR>
<input type="radio" name="radQ10" value="Security" ID="Radio32">
<label for="Radio32">Security</label><BR>
<input type="radio" name="radQ10" value="Financial Aid"
ID="Radio33">
<label for="Radio33">Financial Aid</label><BR>
<BR>
<LI>
Student Employment Services:<br>
<br>
<input type="radio" name="radQ11" value="Provides information on
jobs available" ID="Radio34">
<label for="Radio34">Provides information on jobs
available</label><BR>
<input type="radio" name="radQ11" value="Is a resource center for
resume and interviewing tips"
ID="Radio35">
<label for="Radio35">Is a resource center for resume and
interviewing tips</label><BR>
<input type="radio" name="radQ11" value="Has on campus interviews"
ID="Radio36">
<label for="Radio36">Has on campus interviews</label><BR>
<input type="radio" name="radQ11" value="All the above"
ID="Radio38">
<label for="Radio38">All the above</label><BR>
<input type="radio" name="radQ11" value="None of the above"
ID="Radio39">
<label for="Radio39">None of the above</label><BR>
<BR>
<LI>
Special Needs is where students need to go if they are looking for
peer
tutoring.<br>
<br>
<input type="radio" name="radQ12" value="True" ID="Radio40">
<label for="Radio40">True</label><BR>
<input type="radio" name="radQ12" value="False" ID="Radio41">
<label for="Radio41">False</label><BR>
<BR>
<LI>
The Library has:
<br>
<br>
<input type="radio" name="radQ13" value="Rooms for small groups to
meet" ID="Radio42">
<label for="Radio42">Rooms for small groups to meet</label><BR>
<input type="radio" name="radQ13" value="Internet resources"
ID="Radio43">
<label for="Radio43">Internet resources</label><BR>
<input type="radio" name="radQ13" value="Resource loans from other
schools" ID="Radio44">
<label for="Radio44">Resource loans from other schools</label><BR>
<input type="radio" name="radQ13" value="Computer access"
ID="Radio45">
<label for="Radio45">Computer access</label><BR>
<input type="radio" name="radQ13" value="All of the above"
ID="Radio47">
<label for="Radio47">All of the above</label><BR>
<input type="radio" name="radQ13" value="None of the above"
ID="Radio46">
<label for="Radio46">Two of the above</label><BR>
<BR>
<LI>
For fall 2005 classes, my tuition fees are due on:<br>
<br>
<input type="radio" name="radQ14" value="July 27, 2005"
ID="Radio48">
<label for="Radio30">July 27, 2005</label><BR>
<input type="radio" name="radQ14" value="The first day of class"
ID="Radio49">
<label for="Radio31">The first day of class</label><BR>
<input type="radio" name="radQ14" value="August 15, 2005"
ID="Radio50">
<label for="Radio32">August 15, 2005</label><BR>
<input type="radio" name="radQ14" value="June 30, 2005"
ID="Radio51">
<label for="Radio33">June 30, 2005</label><BR>
<BR>
</LI>
</OL>
<p align="center">
<input type="button" name="submit" value="Submit" ID="Button1"
onclick="validate();">
<input type="reset" name="Submit2"
value="Reset" ID="Reset1">
</p>
</form>
<P> </P>
</body>
</HTML>
</code>