Support the ongoing development of Laravel.io →

785 Threads

Multiple image upload strange error

When upload just one image, the validator works. But, When upload multiple images by enable input's...

0 Likes
3 Replies

How can I make $errors variable be passed to Codeception when functional testing?

Hi. I have problem with functional testing form validation. When I use $errors in my view, tests fai...

0 Likes
0 Replies

Required_with not working with arrays

$rules = array( 'cover_image' => 'required|image|mimes:png,jpeg', 'content' => 'required',...

0 Likes
1 Replies

Problems with custom validation

Hi In Laravel 4 this code works like a charm. But in Laravel 4.1 this don't work. start/global.php r...

0 Likes
0 Replies

Pass variable to route

Hello I'm trying to make simple voting system. So when user click on specific button it should send...

0 Likes
1 Replies
Solved

How to select which route parameter to pass on a controller function?

Hi guys! Recently I added a "page" segment on the url for pagination so I changed my '{sec...

0 Likes
2 Replies
Solved

Dynamic validation rules

I need to have some validation rules based on configuration files (those at app/config), so the rule...

0 Likes
2 Replies
Solved

Error Messages for custom Validation

Hey guys, I am having some trouble getting my error messages to show for my custom Validation class....

0 Likes
2 Replies
Solved

Error validation : Replace label attribute in error message

Hi, I have this code in my_view.blade.php : <div class="row"> <div cl...

0 Likes
1 Replies
Solved

Laravel Validate Many-To-Many Relationship

So I have this Offer model with several offers available. I also have a Pattern model that has a man...

0 Likes
0 Replies

Possible to use PHP functions in-line with Eloquent ->where clause?

Hi, I've got this in my code. $list = $the_things->where( 'date_field', '>', time() ); That d...

0 Likes
1 Replies

Custom Error Messages

I am trying to create error messages without having to hardcode into custom array of validation.php...

0 Likes
0 Replies

How to validate uniqueness of 3 fields

Hi. I have this table: Schema::create('maps', function($table) { $table->engine = 'InnoDB'; $...

0 Likes
0 Replies

Authentication on a relation?

Hello there. I have a User table with a password, and People table with an email. User has a forei...

0 Likes
2 Replies

Confusion with Form File validation

I have a form whereby all my validation except for file works. It seems to return the file name prop...

0 Likes
2 Replies
Solved

Handling dynamically created input fields (javascript, DOM)

My app allows users to dynamically add input fields in a form via some simple javascript. I construc...

0 Likes
1 Replies
posted 10 years ago

Uniqueness of coulumn in context of relation

Hey, i use Ardent and I can't find a way to validate model against uniqueness of column in context o...

0 Likes
0 Replies

Best practice for validating relationships using Ardent?

I'm working on an application containing log messages and users. The respective models are LogMessag...

0 Likes
0 Replies

Validation inside a mutator/setter

I was reading the following: "Validation should happen within the context of the setter prior t...

0 Likes
0 Replies

Intranet help

Hello In my job, we developed 7 years ago an Intranet without a PHP framework. The project has grown...

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.