-2
How to implement checkbox count marked when user clicks on Ubmit, when at least two fields were marked in the code below:
<script>
// Limita a quantidade de cliques
$(".limited1<?php echo $i; ?><?php echo $i4; ?>").click(function() {
var bol = $(".limited1<?php echo $i; ?><?php echo $i4; ?>:checkbox:checked").length >= 1;
$(".limited1<?php echo $i; ?><?php echo $i4; ?>:checkbox").not(":checked").attr("disabled",bol);
});
</script>