vendredi 30 août 2019

set a due date dynamic

I would like to set a due date (dynamic), the person can register if it is 17to 60 years old.

I have tried this:

'date_naissance' => 'required|date|after:1960|before:2003-01-01'

But, I have to change the values each years.It is possible to improve this?

Thank you



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

Aucun commentaire:

Enregistrer un commentaire