This my request class rules.
'eventDate' => 'required|date|after:yesterday',
'venue' => 'required',
'time' => 'required',
I want to validate a rule like below.
'eventDate' && 'venue' && 'time' => 'unique'
There I need to check if there any row without same eventDate, venue and time altogether. Anyone knows how to declare such a rule?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/22TWCK5
via IFTTT
Aucun commentaire:
Enregistrer un commentaire