Lo hice de esa forma, pero ahora simplemente no funciona el código, trabaja normalmente... como si no tuviera el código xD
Código HTML:
<script type="text/javascript">
function DoTheCheck(t) {
if(document.myform.si.checked == true)
{ alert('ACEPTO');
return true;
}
if(document.myform.si.checked == false&&document.myform.no.checked==false)
{ alert('SELECCIONE UN CHEKBOX);
return false; }
if(document.myform.no.checked == true)
{ alert('NO ACEPTO');
return true;
location.href="http://www.miweb.com/";
}
}
</script>
<form name="myform" action="pagsiguiente.php" method="post" onsubmit="return DoTheCheck(this)">
Porfavor lea las <a href="javascript:paginas_new('CondicionesServicio.php')" class="Estilo8"> Condiciones de Servicio </a> de Mensajeria <br />
<br />
Esta Usted de Acuerdo con las Condiciones de Servicio?
<br />
<input type="checkbox" id="accp_reglas" name="si" /> Si
<br />
<input type="checkbox" id="accp_reglas" name="no" /> No
<br />
</form>
hice algo mal?