Support the ongoing development of Laravel.io →

786 Threads

$errors->all() in view won't display errors

Ok so I have this in my Controller: [code]/** * Execute creating of topic * @param id Category...

0 Likes
0 Replies

problem with errors message when passing Former to array.

I want to pass Former to array and then view it like // in view $form = array( Former::text(), Forme...

0 Likes
0 Replies
posted 10 years ago

Validation rule "required_without:foo" isn't working as expected

I have a form to create a new category : {{ Form::open(['route' => ['category.store'], 'method' =...

0 Likes
0 Replies
posted 10 years ago

File upload validation error

Hi, I have following problems, I get an error when I try to upload an image file within the validati...

0 Likes
2 Replies

Saving data array using Eloquent ORM saves only one data row not multiple row

Hi i have a problem saving multiple data using array extracted from explode. heres the code The Arti...

0 Likes
2 Replies
Solved

Check if conversation exists

I'm creating an app where users can send messages to each other. These are my models and relationshi...

0 Likes
2 Replies
Solved

How to pass non-simple e.g. object or multi-level array as parameters to validation rules

In Laravel doc, a validator can be defined as follows... $validator = Validator::make( array(...

0 Likes
0 Replies

Validation value instead of attribute

Hi, is possible to return the input value instead of the :attribute in the error messages? Thanks

0 Likes
0 Replies
posted 10 years ago

How to check if date is not null

Hey, i wonder how to check if a date is null. The database column is defined in function getDates(),...

0 Likes
2 Replies

Lost with MessageBag and validation errors

I have a repository EloquentPageRepository that creates and saves pages. I have an Observer than is...

0 Likes
2 Replies
Solved

Set other fields when user registers

Here is my User model. I would like to set two fields when the user registers for the first time. A...

0 Likes
3 Replies

Using forms in arrays and validation issues

Hi, I need some help with handling array validation from form data. I have a form which has fields n...

0 Likes
0 Replies

Form error on submit (update)

I am a Laravel newbie and trying to figure out basic updating. It loads the form data but every tim...

0 Likes
3 Replies
Solved

Validation based on different fields

I have 3 select lists with countries, I want the user to change only one of the 3 lists, this works...

0 Likes
0 Replies

laravel test fail in route redirection

i am testing a form. Upon success it must redirect to a route and upon failure it must return to th...

0 Likes
1 Replies

Strange Validation behaviour

I've been struggling to figure this out, but with no result so far. This is what I have: My view:...

0 Likes
0 Replies
posted 10 years ago

Show required field validation message ONLY ONCE

Hi, I got couple of mandatory fields. Required field validation is done and error message are shown....

0 Likes
4 Replies
Solved

Anahkiasen/Former ignores state() setting

I'm trying to set the state of a field to 'error' when there is an error. To do this, I'm doing: {{...

0 Likes
0 Replies

Good Validation Service Pakage!

I use https://github.com/fadion/ValidatorAssistant.git for validator service. It is very good for me...

0 Likes
0 Replies

Datetime Problems

Hey guys, I want to print my model's created_at value in different languages. I google'd this subjec...

0 Likes
3 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.