Support the ongoing development of Laravel.io →

770 Threads

Access the model in custom validators

Is there a way to access the model itself in the custom validators? I've tried passing the id in as...

0 Likes 0 Replies

password_confirmation in administrator/frozennode

im using administrator.frozennode but when i try to add a edit_field with the pass confirmation, the...

0 Likes 0 Replies

Best Practices for Validation Inside Models

I just came across an example that put the validation inside of a model like so: class User extends...

0 Likes 4 Replies
Solved

AndreasLutro...

[ user temporarily banned for post content ]

0 Likes 0 Replies

Validating unique data with validation service

I'm using a validation service to validate user submitted form input (something along the lines of:...

0 Likes 0 Replies

Load different template on different request

I do have 2 different on my pages but I would like to load in different situation, for example when...

0 Likes 1 Replies

Undefined index: token

Hi, Have little problem. It is about password reset. Everything works fine until the point when I su...

0 Likes 4 Replies
Solved

Alpha space validator

How to use use alpha numeric validation.. Have seen few topics, but the validator file location has...

0 Likes 1 Replies

[Tutorial] Model Validation using Observers

Hi guys, I have recently posted a new tutorial on something that seems to have been missed by the La...

0 Likes 2 Replies

Validation exception with different results

I am creating Validation service witch throws ValidationException if error ocured. That works fine,...

0 Likes 0 Replies

Thanks to our community

Solutions given in the past year.

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.

© 2021 Laravel.io - All rights reserved.