Use a loop and add as many rules as series. Example :
for($i = 0; $i < $nb_series; $i++){
$rules['series.' . $i] = 'required';
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community