Support the ongoing development of Laravel.io →

156 Threads

posted 9 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
posted 9 years ago

How to add `OR` operator to validation rule?

I have a table users which have some columns including username and email. I also have a form which...

0 Likes
2 Replies
Solved
posted 9 years ago

Validator for identic forms

Hello, how do i make validator fail if two forms are not identical? I am making a change password fo...

0 Likes
1 Replies
Solved

How can I pass validation errors and posted data from a sevice to a controller?

Hi, I want to pass validation errors and posted data ( in order to repopulate the form ) from the se...

0 Likes
1 Replies
Solved

namespaces and validatoor

I cannot seem to get validation working when using a subfolder in controller path....what "use&...

0 Likes
1 Replies
Solved

validation unique using several fields

Hi, I have a model that in combination of 3 fields it needs to be unique. for example: protected $r...

0 Likes
4 Replies
Solved
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

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

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

Saving data array using Eloquent ORM saves only one data row not multiple row

Hi i have a problem saving multiple data using array extracted from explode. heres the code The Arti...

0 Likes
2 Replies
Solved

Check if conversation exists

I'm creating an app where users can send messages to each other. These are my models and relationshi...

0 Likes
2 Replies
Solved

Lost with MessageBag and validation errors

I have a repository EloquentPageRepository that creates and saves pages. I have an Observer than is...

0 Likes
2 Replies
Solved

Form error on submit (update)

I am a Laravel newbie and trying to figure out basic updating. It loads the form data but every tim...

0 Likes
3 Replies
Solved
posted 10 years ago

Show required field validation message ONLY ONCE

Hi, I got couple of mandatory fields. Required field validation is done and error message are shown....

0 Likes
4 Replies
Solved

Error while image validation

hi all, if you see the below code i am trying to validate image but when i submit form i am getting...

0 Likes
2 Replies
Solved

Protect intended url

Hello I have a following scenario: If user is not logged in and he tries to open /admin route he wi...

0 Likes
4 Replies
Solved
posted 10 years ago

Custom place-holder replacement

Hello guys, i have a CustomValidator->arrayfull method, and in en/validation i'm declaring : arra...

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