in Laravel application I need save year input data, it is should be numeric number and should include only 4 numbers. this is current system,
'year' => 'required|min:4|numeric',
this is working but can enter more than 4 numbers. how can enter only 4 numbers here?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire