Question : laravel required if
Answered by : foolish-ferret-tg0lodc7fcp4
"sale_price" => "required_if:list_type,==,selling"
Source : https://stackoverflow.com/questions/37777265/required-if-laravel-5-validation | Last Update : Wed, 31 Mar 21
Question : laravel required_with
Answered by : mohamad-shahkhajeh
$request->validate([ 'daily_movement_id'=>'required_with:daily_movement', 'daily_movement'=>'required_with:daily_movement_id', ]);
Source : | Last Update : Tue, 20 Jul 21
Question : create form request laravel
Answered by : witty-whale-nbn5udptz28e
php artisan make:request StoreBlogPost
Source : https://laravel.com/docs/7.x/validation | Last Update : Thu, 10 Sep 20
Question : rule::exists with custom message laravel
Answered by : kind-koala-j81xyg41fx3h
$messsages = array( 'email.required'=>'You cant leave Email field empty', 'name.required'=>'You cant leave name field empty', 'name.min'=>'The field has to be :min chars long', ); $rules = array( 'email'=>'required|unique:content', 'name'=>'required|min:3', ); $validator = Validator::make(Input::all(), $rules,$messsages);
Source : https://laravel.io/forum/07-27-2014-custom-validation-messages-with-data-of-the-rules | Last Update : Thu, 14 May 20
Question : laravel required validation
Answered by : famous-flatworm-jobjpt34hokw
{"tags":[]}
Source : | Last Update : Thu, 09 Feb 23
Question : validation.required laravel
Answered by : foolish-ferret-tg0lodc7fcp4
9
If it has worked for you before then you should check if you have messages defined in the app\lang\en\validation.php or by chance you have changed the locale of the app and have not defined the messages for it. There are many possibilities.
Source : | Last Update : Wed, 31 Mar 21