Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how validate if one parameter is exist another parameter must exist in laravel

        $request->validate([
            'daily_movement_id'=>'required_with:daily_movement',
            'daily_movement'=>'required_with:daily_movement_id',
        ]);
 
PREVIOUS NEXT
Tagged: #validate #parameter #exist #parameter #exist #laravel
ADD COMMENT
Topic
Name
2+8 =