In Laravel, how can I get the validation errors
I am getting the web method just thrown out, and rest of the code after the line (see code below) doesn’t run. With this code, I cannot seem to get where the error is, even though I can see that the Laravel has issues with the email being unique. I only have handful of users, and all of them have different emails. I can see that in the DB. This is the code, in any case:
In Laravel, how can I get the validation errors
I am getting the web method just thrown out, and rest of the code after the line (see code below) doesn’t run. With this code, I cannot seem to get where the error is, even though I can see that the Laravel has issues with the email being unique. I only have handful of users, and all of them have different emails. I can see that in the DB. This is the code, in any case:
In Laravel, how can I get the validation errors
I am getting the web method just thrown out, and rest of the code after the line (see code below) doesn’t run. With this code, I cannot seem to get where the error is, even though I can see that the Laravel has issues with the email being unique. I only have handful of users, and all of them have different emails. I can see that in the DB. This is the code, in any case:
In Laravel, how can I get the validation errors
I am getting the web method just thrown out, and rest of the code after the line (see code below) doesn’t run. With this code, I cannot seem to get where the error is, even though I can see that the Laravel has issues with the email being unique. I only have handful of users, and all of them have different emails. I can see that in the DB. This is the code, in any case:
How to use unique validation in laravel with translated column by spatie library
I am using spatie library for translating “name” column but I want to use unique validation in that column when sending each value (translation) from my form. I send two values from my form one is for arabic language and the another is for english language.
Laravel Livewire custom validation
I am trying to do a simple validation in a livewire component.
I have a “name” field with “required” rule and a “save” button that calls save() function.
What is the number validation if I want the user input should be either 9 digit or 12 digit or 15 digit in laravel?
In Laravel form input validation, how can I check user to force input number of either 9 digit or 12 digit or 15 digit?
Validate Laravel Database Entry on Request Only For Specific Values
I have my dropdown with options populated from the database. Along with I have an option named other
with value -1
The GET method is not supported for route update_user. Supported methods: POST. when trying to validate()
im facing a problem when i try to validate fields that are coming from a form, i “copied” the create template and function that is working but when i call my fuction store_updated_user
, shows the error, if I comment the validation, the record is succesfully updated.