Support the ongoing development of Laravel.io →

786 Threads

Accessing validation error messages without redirecting

Most examples go something like this: return Redirect::to('register')->withErrors($validator); H...

0 Likes
1 Replies
Solved

Is there a better way?

Hi everyone, http://laravel.io/bin/kYVa9 In the above snippet, you may recoil in horror when you see...

0 Likes
0 Replies
posted 10 years ago

ardent attribute validation

Hi All, Trying to figure out laravel validation for my user model. I can manage to return all the er...

0 Likes
0 Replies

Laravel 4.2 mime config

Where can I configure the mime type settings? I am using laravel 4.2 and my upload form should valid...

0 Likes
4 Replies
posted 10 years ago

Avoid re-submitting form data

Hi, any idea how to clear the input? After passing the validator my script has var_dump(Input::all()...

0 Likes
4 Replies
posted 10 years ago

How to use the exists rule appropriately?

I am checking if the user has confirmed their account, using the rule: 'confirmed' => 'requir...

0 Likes
0 Replies

Should I use confide, entrust and ardent?

Hello everyone, I'm new to laravel and I've been learning it for a couple of weeks now. The question...

0 Likes
2 Replies
Solved

Building lite permissions / ACL library - feedback?

I've been wanting to make a lite ACL / permissions library that works for well and isn't tied to a d...

0 Likes
3 Replies
posted 10 years ago

ORM validation, valid date or null

I have a table that may have a date or may be null. Is it possible to set an ORM validation rule th...

0 Likes
1 Replies

Is possible array of form input validation and display each input validation error?

how to display custom messages after validation, I require that each input message is showing valida...

0 Likes
3 Replies

Model validation with traits

I wrote a blog post here which explains how you can take Dayle Ree's model validation code and turn...

0 Likes
3 Replies
posted 10 years ago

Extend validator result with own messages

Hey guys, in a controller method im checking two things, a user model and some credit card informati...

0 Likes
2 Replies

Check if selected value exists in a database

I have a form, where user selects category from DB table "categories" and column "tit...

0 Likes
4 Replies

Input::old() don't work with array?

//form {{ Form::open(array('route' => 'performances.store')) }} @for($i=1; $i<=5; $i++) Inicio...

0 Likes
2 Replies

Best way to handle errors in laravel

I am stuck a bit, I have a little form and auth system - Sentry. Get data from Input and validate...

0 Likes
0 Replies

Redirect back to same page

Please help. If a user is on say xyz.com/course/1/edit and closes the browser, only to return after...

0 Likes
2 Replies
Solved

Multiple File Upload

Hi, i generated a multiple upload form with the former generator tool from https://github.com/Anahki...

0 Likes
2 Replies
posted 10 years ago

how to validate multiple records (multiple fields)

Form {{ Form::open(array('route' => 'performances.store')) }} @foreach($estaciones as $clave =>...

0 Likes
0 Replies
posted 10 years ago

`validateBoolean` doesn't exist in Validator?

From php artisan tinker I called $val->passes() and get the following error [3] > $val = $play...

0 Likes
1 Replies
Solved

Unique validation for create and update user

Hi all, i have an app that provides registration users and edit information account. In registration...

0 Likes
2 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.