Sir i tried this code a number of times with differenct validation classes like use Illuminate\Support\Facades\Validator; use Illuminate\Validation\Validator; use Validator; I used the Validator::make and \Validator::make everything is okay except the validation message is not showing in the blade but the app redirects and the error is shown in json syntax like {"status":0,"error":{"product_name":["The product name field is required."]}} to check the redirect problem i tried to use alert() in the ajax it doesn't work after i add $.ajax and all the code after it.
Hi tamer amer. I didn't try vue js but I will learn this javascript framework(Vue Js). I think my future videos will have vue js. Thanks for your comment.
thanks for you valueable code it is very userful
Thank you
Sir i tried this code a number of times with differenct validation classes like
use Illuminate\Support\Facades\Validator;
use Illuminate\Validation\Validator;
use Validator;
I used the Validator::make and \Validator::make
everything is okay except the validation message is not showing in the blade but the app redirects and the error is shown in json syntax like
{"status":0,"error":{"product_name":["The product name field is required."]}}
to check the redirect problem i tried to use alert() in the ajax it doesn't work after i add $.ajax and all the code after it.
same :( have u found solution for this?
you need to add id="form" to your form
Thank you so much sir.
Thank you
@@sawastacks
Thank you for this series.
Did you made a video about upload image in laravel without ajax?
Please share the video link.
I love this channel
Thank you sir
Good video thank you
Thank you too
thanks bro, but i find the Jquery syntax is very horrible, shall you make another one with Vue js instead?
Hi tamer amer. I didn't try vue js but I will learn this javascript framework(Vue Js). I think my future videos will have vue js.
Thanks for your comment.
can i upload pdf file ?
sir please make a php prepare statement crud with images or 3 input field validation ajax jquery boostrap 5 jquery table plugin
I'm fourth 😃
Master, how are you? thank you
Good!
i'm the first one, ahahaha.
can you add the source code i have some problems :'(
Yeah, your right.
github.com/Mbere250/Laravel-8-Ajax-CRUD-with-Image-Upload
Thank you Hamza