mercredi 31 janvier 2018

validate all arrayitems except last in laravel

With the asterisk I can validate all array items, like this:

'event_time_start.*' => 'required|date_format:G:i',

But I want apply this validation rule on all items, except the last one. How can I achive this?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2DPi0Ws
via IFTTT

Aucun commentaire:

Enregistrer un commentaire