Support the ongoing development of Laravel.io →

778 Threads

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

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

Problem in validation file

Hello dear friends I want to upload a ".apk" file using laravel and form validation. my ru...

0 Likes 1 Replies

[package] Rulez - Input validation Service

https://github.com/keevitaja/rulez-laravel Rulez provides easy way for setting up input validation r...

0 Likes 0 Replies

Event trigger and validation

Hi, When I save a model, I want to validate its contents; I use a validator and a protected array of...

0 Likes 0 Replies

Best practices for validating user input

Hi, lot of people create sepparate classes for each set of rules and then inject them into the contr...

0 Likes 0 Replies

Class Controller does not exist - ReflectionException

hi guys, i dont know exactly what should i tag for this problem. Anyway just deployed my app on a La...

0 Likes 0 Replies

Validator->failed() returns empty array

Hey guys, I'm pretty new to laravel and I would like to use the Validator which comes with laravel....

0 Likes 1 Replies
Solved

csrf validation failing during unit testing (Laravel 4.1)

I recently upgraded from 4.0 to 4.1 following the upgrade instructions, and now when unit testing my...

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?

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

© 2022 Laravel.io - All rights reserved.