Sorry Jo, I assumed there were just 2 answers - 1 right and 1 wrong. This
should do the trick for you
<body>
<script type="text/javascript">
function checkAnswer(f){
if(f.Answer[0].checked)location.href="....Replace With Url for Wrong
Answer 2 ......";
else if(f.Answer[1].checked)location.href="....Replace With Url for Wrong
Answer 3 .";
else if(f.Answer[2].checked)location.href="...Replace With Url for Wrong
Answer 4 .....";
else if(f.Answer[3].checked)location.href="...Replace With Url for Correct
Answer......";
}
</script>
<hr>
<h1 align="center">The Basics Test</h1>
<hr>
<h3 align="left">Question 1</h3>
<form>
<p><b>Which of the following would best define risk from an insurance
point
of view?</b></p>
<p>
<input type="radio" value="WrongAnswer2" name="Answer">Financial
investments of a
speculative nature.<br>
<input type="radio" value="WrongAnswer3" name="Answer">Probability that a
loss will occur.<br>
<input type="radio" value="WrongAnswer4" name="Answer">Specific cause of
an
individual loss.<br>
<input type="radio" value="RightAnswer" name="Answer">The chance of or
uncertainty
concerning a financial loss</p>
<p> </p>
<p><input type="button" value="Check Answer"
onclick="checkAnswer(this.form);">
Cheers,
Jon
jkjmwilliams said:
Ii tride the code you sent, and I must be doing something wrong. I'm
including my code. Would you be so kind as to look at it and see if you
can
see my mistake?
Thanks,
JoAnn
<body>
<hr>
<h1 align="center">The Basics Test</h1>
<hr>
<h3 align="left">Question 1</h3>
<form>
<p><b>Which of the following would best define risk from an insurance
point
of view?</b></p>
<p>
<input type="radio" value="WrongAnswer2" name="Answer">Financial
investments of a
speculative nature.<br>
<input type="radio" value="WrongAnswer3" name="Answer">Probability that a
loss will occur.<br>
<input type="radio" value="WrongAnswer4" name="Answer">Specific cause of
an
individual loss.<br>
<input type="radio" value="RightAnswer" name="Answer">The chance of or
uncertainty
concerning a financial loss</p>
<p> </p>
<p><input type="submit" value="Check Answer"
onclick="location.href=(this.form.Answer[0].checked)?
'
http://www.agentschoiceonline.com/5...stersBasicTest/Question1/Question1Correct.htm':
'
http://www.agentschoiceonline.com/5...ustersBasicTest/Question1/Question1Wrong1.htm':
'
http://www.agentschoiceonline.com/5...ustersBasicTest/Question1/Question1Wrong2.htm':
'
http://www.agentschoiceonline.com/5...ersBasicTest/Question1/Question1Wrong3.htm':;">
</form>
<p> </p>
<p> </p>
<p> </p>
</body>