Search
 
SCRIPT & CODE EXAMPLE
 

PHP

how validate the value of object in arraye in laravel

        $request->validate([
            'data.*.recommend_question_id'=>'required',
            'data.*.recommend'=>'required',
            'data.*.date'=>'required'
        ]);
Comment

PREVIOUS NEXT
Code Example
Php :: php conditionally remove element from array 
Php :: str_ireplace 
Php :: boot add schema in laravel 
Php :: Class "Controller" not found 
Php :: Disable wordpress editor - gutenberg on Post type post 
Php :: php catch exception 
Php :: array_push 
Php :: Merge Two Collection or Array 
Php :: Convert String containing commas to array 
Php :: laravel how to check if there are record exists 
Php :: IlluminateContractsContainerBindingResolutionException target calss does not exist 
Php :: how to create slug in laravel 
Php :: blade select selected 
Php :: if is front end wp 
Php :: PHP is_array() Function 
Php :: what is the difference between static and dynamic websites? 
Php :: php has constant 
Php :: laravel eloquent soft delete 
Php :: array_flatten php 
Php :: why storage link do not work in host for laravel 
Php :: php timestamp to seconds 
Php :: php trim quotes 
Php :: laravel detach 
Php :: laravel api response json 
Php :: laravel 8 decimal 
Php :: check if session is started 
Php :: include php file from another folder 
Php :: php formData curl 
Php :: get custom post type taxonomy value 
Php :: laravel blade @selected 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =