I am trying to validate the telephone number using the regix. but it is giving me error:
$validator=Validator::make($request->all(),[
'name'=>'required',
'telephone'=>'regix:^[[0-9]\-\+]{9,15}$|required|unique:telephone',
'email'=>'unique:telephone',]);
the error is:
Method [validateRegix] does not exist.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1qZJ8L4
via IFTTT
Aucun commentaire:
Enregistrer un commentaire