Support the ongoing development of Laravel.io →

776 Threads

Validation Rules

Hello, I have some problems with validation rules in FormBuilder. I want the second choice field to...

0 Likes 0 Replies

Validator errors not in session?

I am validating a form with the following $validator = \Validator::make($request->all(), [ 'p...

0 Likes 11 Replies
Solved

overriding response function is custom request classes in laravel

Hi I am using custom request class that extends laravel Request class validate user input data. I ov...

0 Likes 0 Replies

Validations

Does anyone have any ideas on how to perform validations on fields from different tables.? I have qu...

0 Likes 3 Replies
Solved

How to implement laravel request validation

Hello All, Now i am trying to implement laravel validation on my API controller, and here is my cont...

0 Likes 5 Replies
Solved

Validation Rule - Ignore on Update

Hi all - I'm stumped with rule validation on update. All the examples use a user class but if I crea...

0 Likes 3 Replies
Solved

validate directory read / write

Hi there, (im beginner in laravel:) how can i validate a file path for existent and then permissions...

0 Likes 4 Replies

Multiple file upload and validation

Hi, I want to allow multiple files upload, so I did this in my view: {{ Form::file('files[]', array(...

0 Likes 3 Replies
Solved

Laravel 5.3 Validation

When I use variables in $rules and in $validator the code doesn`t work. Where is my mistake? $sumaRa...

0 Likes 0 Replies

validator always returns false

Hey Guys, I need your help, because i'm new in laravel. This is the code of my upload controller:...

0 Likes 3 Replies

Manipulate form request data

Hi there, Does anyone know how I can modify the data a form request object contains before it is use...

0 Likes 5 Replies

Validating route parameters in form requests

Hey, I'd like to ask you guys how you validate route parameters with a form request. I have the foll...

0 Likes 1 Replies

Call to undefined method Illuminate\Database\Query\Builder::findBySlugOrFail() -- Please Assist

<?php namespace App; use Cviebrock\EloquentSluggable\Sluggable; use Illuminate\Database\Eloquen...

0 Likes 0 Replies

Check if requested object is null

Hey, at first: sorry for my bad english, I hope you'll unterstand my problem. So, I would like to ch...

0 Likes 3 Replies

Laravel Register didn't Create New Data

I have tinkering my laravel project awhile, and when I try using register auth from laravel to input...

0 Likes 3 Replies

Laravel large size image upload validator not work

I'm using Laravel: 5.2.* as my project and trying to validate/restrict large size(max:600kb) image(S...

0 Likes 0 Replies

Validating and storing checkboxes

I'm building a quote form and need help passing data into my controller for validation. I have the f...

0 Likes 0 Replies

production.ERROR: exception 'Exception' with message 'Serialization of 'Symfony\Component\HttpFoundation\File\UploadedFile' is not allowed'

I’m having an issue with a file upload. I’m getting the following error in my laravel log. [2016-12-...

0 Likes 4 Replies

Laravel 5.2+ date before and after date validation not working

This works 'expected_at' => 'date|after:"2016-04-09 10:48:11"', Or this works $rules['...

0 Likes 1 Replies

How to make where() restrictions on resourceful routes

Hello, Route::resource('tasks', 'TasksController', array( 'where' => array('tasks' => '[0-9]+...

0 Likes 2 Replies
Solved

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.

© 2022 Laravel.io - All rights reserved.