Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel validation unique in edit

protected $rules = [
    'email_address' => 'sometimes|required|email|unique:users',
    ..
];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #validation #unique #edit
ADD COMMENT
Topic
Name
4+5 =