Both groups need to control for the select are required
<script type="text/javascript">
function validateForm(frm){
var radios=frm.secilenkablotipi_id;
var n=radios.length;
for(var i=0; i<n; i++){
if(radios[i].checked) return true;
}
alert('You must choose one item');
return false;
}
</script>
while ($row = mysql_fetch_array($1groupradios)) {
radios group1
}
while ($row = mysql_fetch_array($2groupradios)) {
radios group2
}
Thanks