Código PHP:
<script language="javascript">
function chkForm(){
var chk = document.formulario.chk.value;
if(!chk){
alert("Debes seleccionar al menos uno");
}
}
</script>
<FORM action="test.php" method="POST" name="formulario">
<?php
for($i=1;$i<=5;$i++){
echo "<input type=\"checkbox\" value=\"$i\" name=\"chk[]\"><br>";
}
?>
<INPUT TYPE="button" name="btn" value="Test" onClick="javascript:chkForm();">
</FORM>
Salu2