Answers for "how to give error msg when both feild are present in required without validation in laravel"

PHP
2

laravel validate integer between

'item' => 'required|integer|between:1,10',
Posted by: Guest on October-21-2020
-1

laravel validation

$rules = ['name' => 'unique:users,name'];

$input = ['name' => ''];

Validator::make($input, $rules)->passes(); // true
Posted by: Guest on December-25-2020

Code answers related to "how to give error msg when both feild are present in required without validation in laravel"

Browse Popular Code Answers by Language