Cuenta los post y si son dentro del rango haces y si no no...
Código PHP:
Ver original<?php
$c = count($_POST["cedulas"]); $min = 3;
$max = 5;
if($c>=$min && $c<=$max){
//insters...
}
else{
if($c - $min < 0){
//not enough data
}
else{
//enough data
}
}
?>