I'd need to do an if clause in case a validation error occurs. For "normal" fields, i can...
Ok so I have this in my Controller: [code]/** * Execute creating of topic * @param id Category...
I want to pass Former to array and then view it like // in view $form = array( Former::text(), Forme...
I have a form to create a new category : {{ Form::open(['route' => ['category.store'], 'method' =...
Hi, I have following problems, I get an error when I try to upload an image file within the validati...
Hi i have a problem saving multiple data using array extracted from explode. heres the code The Arti...
I'm creating an app where users can send messages to each other. These are my models and relationshi...
In Laravel doc, a validator can be defined as follows... $validator = Validator::make( array(...
Hi, is possible to return the input value instead of the :attribute in the error messages? Thanks
Hey, i wonder how to check if a date is null. The database column is defined in function getDates(),...
I have a repository EloquentPageRepository that creates and saves pages. I have an Observer than is...
Here is my User model. I would like to set two fields when the user registers for the first time. A...
Hi, I need some help with handling array validation from form data. I have a form which has fields n...
I am a Laravel newbie and trying to figure out basic updating. It loads the form data but every tim...
I have 3 select lists with countries, I want the user to change only one of the 3 lists, this works...
i am testing a form. Upon success it must redirect to a route and upon failure it must return to th...
I've been struggling to figure this out, but with no result so far. This is what I have: My view:...
Hi, I got couple of mandatory fields. Required field validation is done and error message are shown....
I'm trying to set the state of a field to 'error' when there is an error. To do this, I'm doing: {{...
I use https://github.com/fadion/ValidatorAssistant.git for validator service. It is very good for me...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community