Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Validate checkboxes laravel

$v = Validator::make($request->all(), [
  'person.*.id' => 'exists:users.id',
  'person.*.name' => 'required:string',
]);
Source by laravel-news.com #
 
PREVIOUS NEXT
Tagged: #Validate #checkboxes #laravel
ADD COMMENT
Topic
Name
7+5 =