a ver esto:
Código PHP:
function controla_radio() {
if(!(document.forms[0].rd1[0].checked || document.forms[0].rd1[1].checked )) {
alert("Debe indicar si utiliza los servicios");
return;
}
if (document.forms[0].rd1[0].checked && (!(document.forms[0].rd1[0].checked || !document.forms[0].rd1[1].checked)) {
alert('No seleccionaste algun rd2');
return;
}
if (document.forms[0].rd1[1].checked){
document.forms[0].rd2[0].disabled = true;
document.forms[0].rd2[1].disabled = true;
}
document.form1.submit()
}