Support the ongoing development of Laravel.io →

631 Threads

Dynamic form fields validation

How can I validate dynamically created form fields. My form structure is {{ form::text('works[0][&qu...

0 Likes
0 Replies

What is the 'Laravel' way to achieve this..

On my app a user can upload a file.. i've created a function that generates a random 8 digit string...

0 Likes
2 Replies

Ardent 2 Models in Controller Method Validation Errors

Hi Guys, Stuck with a validation problem in Laravel. I don't think it's specific to Ardent, but that...

0 Likes
0 Replies

Laravel Auth - Problem with logging in.

Hello, I've problem with logging into my application, i've tried to use another hashing, but it didn...

0 Likes
0 Replies

Sentry unique field

Hi guys, I'm using Sentry for my app. I've added a property to the user model : "Account"...

0 Likes
1 Replies

Validation and Session Variables - Browser Refresh does not reset form

I am trying to understand why posted values persist in a session, even after a browser refresh. I wo...

0 Likes
0 Replies
posted 10 years ago

Inverse of "in" in laravel validators rules

Good day !!! What is the Inverse of "in" in laravel validators rules? thanks artisans!!

0 Likes
2 Replies

Symfony \ Component \ Debug \ Exception \ FatalErrorException Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]])

I getting this error but I just install the packege and did not change any code. Symfony \ Component...

0 Likes
3 Replies

Bloated service provider

Has anyone tips for organizing service provider class files? Then in turn, thin out the service prov...

0 Likes
0 Replies

$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

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

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

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

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.

© 2025 Laravel.io - All rights reserved.