Ve como andas con esto:
Código HTML:
Ver original<script type="text/javascript"> function verif(tipo){
elements = document.getElementsByName(tipo);
for(var k=0; k<elements.length;k++){
if(elements[k].checked){
return true;
}
}
return false;
}
<form method="post" action="" onsubmit="if(!verif('nublado') || !verif('lloviendo')){ alert('falta dato'); return false; }"> poco
<input type="radio" name="nublado" value="poco"><br/>normal
<input type="radio" name="nublado" value="normal"><br/>mucho
<input type="radio" name="nublado" value="mucho"><br/>
poco
<input type="radio" name="lloviendo" value="poco"><br/>normal
<input type="radio" name="lloviendo" value="normal"><br/>mucho
<input type="radio" name="lloviendo" value="mucho"><br/>
<input type="submit" value="go!!" />