Answers for "how validate data if is exist must not be empty in laravel"

PHP
0

how validate data if is exist must not be empty in laravel

$request->validate([
            'room_id'=>'sometimes|required',
            'doctor_id'=>'sometimes|required',
            'patient_id'=>'sometimes|required',
        ]);
Posted by: Guest on July-13-2021

Code answers related to "how validate data if is exist must not be empty in laravel"

Browse Popular Code Answers by Language