vendredi 25 novembre 2016

Use multiple value for "size" validator in Laravel 5.3 requests

like in title, is there a way to check my form value against two specific values? I need to validate a field of 11 or 15 characters, I wonder if I need to use a regex pattern or it can be achieved with "Size" validator.

Thank you for your help



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire