Skip to content

Tag: laravel-8

Serialize form validation Laravel 8

could not validate an array of input in laravel 8. from the frontside I have gotten the serialized form data which was successfully accessible from the backend. what I want is to validate the form inside the update function before I update the data when the user changes. what I have tried on the validation fu…

How Can I Get False in Auth::attempts Laravel

I Have AuthController, with this code and i Hash with my Own Hash, and when i dump the $credentials, the value is correct. but when i dump Auth::attempt($credentials) i got false result. Answer Using your own hash function for authentication isn’t as straight forward as implementing a custom hash functi…

Setting ajax url in external js file in laravel 8

i have a single paged website developed in laravel 8 uploaded on a live server. The site has a contact form which uses ajax to send mail. Am currently having issues with setting the right ajax url. I have checked some solutions online but none have solved the problem. Below are my routes. On the blade header …

Laravel Views Subfolders routing

I have sub folders inside my view folder called I want to route this saled.blade.php and datauploader.php files in web.php I have tried with in both the ways.but both shows 404 errors. and this is the way I mentioned the url of the file in home.blade.php So please help to resolve this Answer if directly form …