Okay, so I have a form where it asks the user for:-
- The day on which they were born (0-31, etc.)
- The month in which they were born (January-December)
- The year in which they were born
I then validate this with:
$rules = array(
'???' => 'required:date'
);
$validator = Validator::make($data, $rules);
But I have no idea where/what I can do to put the date, month, year into something that I can put into my validation, whether it be on the view or in the validation process.
Thanks, Tom