Advanced Laravel | Form Request Validation #1

preview_player
Показать описание
Advanced Laravel Tutorials, Form Request Validation and Custom message for every type of Validation.

Here is a new series for Beginner on Laravel 5.4 from scratch

You May Also Like

--- FOLLOW ME ---

Subscribe for New Releases!

(ask me questions!)

--- QUESTIONS? ---

Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.

Thanks for all your support!

LARAVEL 5.4 Tutorial | Cara Instal LARAVEL 5,4 dari awal Part 1 | Bitfumes

Laravel 5.4 Tutorial | Come installare laravel 5,4 da zero Parte 1 | Bitfumes

-~-~~-~~~-~~-~-
Please watch: "Laravel 5.4 Tutorial | Email From Server (Godaddy) #3 | Part 26 | Bitfumes"
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

Sarthak. I think. Bitfumes is neat channel for me. I have been waisting my time. At different toturials for 1 year. Now. I think. Bitfumes is best. And i want to say. That i wanna subscribe 100 times your channel. :)

shomoking
Автор

Excellent!!! Never stop such good work. I'm always with you.

phoenixsoftware
Автор

this is really nice. got question though. let's say i have multiple file (upload) input fields, how do i display the filename of invalid upload in error messages from FormRequest.

victhour
Автор

you are helping a lot for the beginners as well as for the professionals also i would like to request you to make a couple of video on dynamic menu how can we make a dynamic menu with drop down and create a crud of menu with and without parent id

madhukarsharma
Автор

hello sir one more thing when we use eloquent query like user::all() so then diffforhumanswork in DB::table('users')->get() then diffforhumans give me error can not use string with diffforhumans can you explain that thank, s

abubakkartahir
Автор

you have not use route in action of the form. but it works . how it works to target route???

ahsansaleem
Автор

bro apka jo blog wala project hy laravel ka wo is series k bagher atempt kar skte hen???

sumaimahmed
Автор

thank you very much, all your videos is helpful, i learn to much from you, keep going

mouhssinedrif
Автор

Sir you are doing well but you showed the same fieldsname validation in this video but supposed that I have 20 forms with different fieldsname than how would make validation request?

RinkuKumar-rtbi
Автор

pls why when custom message for max not working with me public function rules()
{
return [
'name'=>'required|max:20',
'email'=>'required|max:15'
];
}
public function messages()
{
return [
'name.required'=>'name is required ',
'name.max'=>'name is not allowed to be more than 20 chars', // not working
'email.required'=>'email is required'
];
}

momenhesham
Автор

hi .. sir sarthak. if i learn every laravel toturial from you channel. then i will be a laravel developer?

ahsansaleem
Автор

i also want to know how to repopulate form on validation error?

pravinmehetre
Автор

so which one is efficient, Middlewares or Requests ?

ArafatHossainAdi
Автор

if I want dynamic validation like max:20 -> max:$length where value of $length coming from database, we have a table where we stored length value, because if I have defined max:20 at 50 places in project and after some time need to decrease max value then required to change at 50 places, after dynamic we change length value in db at one place and all changed, how to do this?

AwadheshKumar-vbus
Автор

Let's suppose that in the table there is a field with unique content, like e-mail. Do you need to build a separate form request validation for storing (e.g. StoreFormValidation) and separate for updating (e.g. UpdateFormValidation) so that when updating does not check the uniqueness of the email field for the current record?

pacykarz
Автор

how we can send all errors of request in json response?

saadfarooq
Автор

sir when we have 2 field i.e, name and email inside the form if user fills name and not email and submit record then how we make sure that the data entered by the user in the name field must not get removed as if we his missing 1 field he has to fill the whole form again ... pleas help

nishantdua
Автор

how to resolve the 'unique' constraint for updating the record.

saicharandogiparthi
Автор

hi i am php learner
I was doing form validation but i am not getting error message displayed .kindly suggest.
i have written the code as u did.

tabassumjahagirdar
Автор

thank you so much for this wonderful tutorial series. hope you will continue updating. i have a question that is, if i create a field 'phone no' and i want to bind my user to give '+' symbol before numeric number in that field. when the user would not give '+', it will show a message "Please give + sign before the number". how can i build this. please answer back me a solution.

mahfujmunir