ya lo logre jejeje muchas gracias aqui dejo lo que hice gracias
Código PHP:
<SCRIPT LANGUAGE="JavaScript">
function validacion() {
//valido el nombre
mal=false;
if (document.calculate.cliente.value.length==0){
alert("Escriba nombre del Cliente") ;
mal=false;
document.calculate.cliente.focus()
return 0;
}
if (document.calculate.num0.value.length==1){
alert("Escriba Valor de la Vivienda en Uf") ;
mal=false;
document.calculate.num0.focus()
return 0;
}
var s = "no";
with (document.calculate){
for ( var i = 0; i < doce.length; i++ ) {
if ( doce[i].checked ) {
s= "si";
break;
}
}
if ( s == "no" ){
window.alert("Debe seleccionar un plazo" ) ;
mal=false;
return false;
}
}
if (mal){return false}
else{ doMath(); calcular(); }
}
espero a alguien mas le sirva muchas gracias por su ayuda