maggiemay654
05-02-2003, 10:43 AM
Hello,
I have a form that, when submitted, simply sends the user to the next page within the same website. It is producing a 'page cannot be displayed' error instead, & you have to hit 'refresh' in order for the proper page to display.
Within the 'form' tag, the action line reads: 'ACTION="orderform.htm" '. I have also tried using the entire path, including 'http://www.website.com/page.htm' and simply 'www.website.com/page.htm' and they all produce the same error page. Any ideas?
Here's the whole script, in case it's helpful:
<HTML>
<HEAD><TITLE> Title</TITLE>
<script language="javascript" type="text/javascript">
function checkCheckBox(f) {
if (f.charge1.checked == false || f.charge2.checked == false || f.charge3.checked == false) {
alert("Please check all boxes to continue.");
return false;
}
else {
return true;
}
}
</script>
</HEAD><BODY>
<form name="shipping" ACTION="order2.htm" METHOD="POST" onsubmit="return checkCheckBox(this)">
<input type="checkbox" name="charge1" value="0"> Description 1 <p>
<input type="checkbox" name="charge2" value="0"> Description 2 <p>
<input type="checkbox" name="charge3" value="0"> Description 3 <p>
<input type=submit value="submit">
</form></BODY></html>
Thank you so much!
I have a form that, when submitted, simply sends the user to the next page within the same website. It is producing a 'page cannot be displayed' error instead, & you have to hit 'refresh' in order for the proper page to display.
Within the 'form' tag, the action line reads: 'ACTION="orderform.htm" '. I have also tried using the entire path, including 'http://www.website.com/page.htm' and simply 'www.website.com/page.htm' and they all produce the same error page. Any ideas?
Here's the whole script, in case it's helpful:
<HTML>
<HEAD><TITLE> Title</TITLE>
<script language="javascript" type="text/javascript">
function checkCheckBox(f) {
if (f.charge1.checked == false || f.charge2.checked == false || f.charge3.checked == false) {
alert("Please check all boxes to continue.");
return false;
}
else {
return true;
}
}
</script>
</HEAD><BODY>
<form name="shipping" ACTION="order2.htm" METHOD="POST" onsubmit="return checkCheckBox(this)">
<input type="checkbox" name="charge1" value="0"> Description 1 <p>
<input type="checkbox" name="charge2" value="0"> Description 2 <p>
<input type="checkbox" name="charge3" value="0"> Description 3 <p>
<input type=submit value="submit">
</form></BODY></html>
Thank you so much!