Support the ongoing development of Laravel.io →

786 Threads

[SOLVED] ->withErrors() not working

SOLVED Accidentally had Laravel version 4.1.30 installed, installing 4.2.1 and copying Controllers,...

0 Likes
0 Replies
posted 10 years ago

Validation sum of input values

Hello, I've a form where user should enter 6 values, each value should be between 2 and 4 and the su...

0 Likes
4 Replies
Solved

Custom Validation Method

I am new to Laravel coming from another framework and needing some help creating a custom validation...

0 Likes
1 Replies

How to check if a specifc error is present in blade view?

I want to do something similar to this: <div class="{{ $errors->first('identifier') or 'h...

0 Likes
2 Replies
posted 10 years ago

Passing data from custom validator to error message

Hi, First of all - I might try to do something that isn't considered good practice. If so - please t...

0 Likes
0 Replies

Ardent and forms with multiple models

I have a form that allows an admin to update a user. In this form, I have a multi-select for roles....

0 Likes
2 Replies

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

Model specific translations for Validation

So, I have this problem: I'm creating an application, which will be translated to language other tha...

0 Likes
2 Replies
Solved

route validation

Hi all, I have a route pattern like 'category/{id}/{year}-{month}-{day}'. How can I render a 404 res...

0 Likes
1 Replies
Solved

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

Importing Illuminate components into ProcessWire

Hi everyone :) I have just started using ProcessWire, and I really do think it is a great CMF. The o...

0 Likes
2 Replies
Solved

Modify one part of Input::old()

I have in my post controller: return Redirect::back()->withInput()->withErrors($validator)...

0 Likes
2 Replies
Solved
posted 10 years ago

Custom validation - get name of returned error

I'd need to do an if clause in case a validation error occurs. For "normal" fields, i can...

0 Likes
2 Replies
Solved

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.