Support the ongoing development of Laravel.io →

786 Threads

Model validation using related models

Consider the following models. class Camp extends Model { protected $fillable = ['name', 'descri...

0 Likes
1 Replies

Showing validation error massages for dynamically added input fields

I have input array elements dynamically added to my form. After validating them I get messages in my...

0 Likes
0 Replies

Validation localization with arrays of input

Hi all, I am currently working on a very dynamic form in which fields can be added and modified at t...

0 Likes
0 Replies

How to use route with suffix

I try Route::get('article/edit/{alias?}'.$suffix, ['uses' => 'ArticleController@getEdit', 'as' =&...

0 Likes
0 Replies
posted 8 years ago

Retrieving old Check-box array

I want an array of checkboxes to get the either the old value or the value stored in the database, i...

iwebroot liked this thread

1 Likes
0 Replies
posted 8 years ago

middleware WEB

Hey to all. i'm using laravel 5.2 . when i'm watched a lesson of validation, in the video all routes...

0 Likes
1 Replies
posted 8 years ago

Getting validation to work

I'm busy trying to get validation to work, but when I test it out no error gets displayed. I'm not s...

0 Likes
2 Replies

Create a database row

So this is the "example controller", or the controller that ships with Laravel. It creates...

0 Likes
1 Replies
Solved
posted 8 years ago

Errors MessageBag in Controller

I'm using a form request for validation and I need to access the errors message bag in the controlle...

0 Likes
1 Replies
Solved

Laravel 5.1 MassAssignmentException After Model $fillable Update

Greetings. I am having trouble with a MassAssignmentException. I was following along Jeffrey Way's v...

0 Likes
12 Replies

Jquery cloned fieldset not posting

I have an fieldset in my form that looks like below. <fieldset class="Bo...

0 Likes
1 Replies
Solved

When Validation Exception is thrown?

I am trying to understand when Validation Exception is thrown. As when my custom request rules metho...

0 Likes
0 Replies

Dynamicly created fieldset not submitting data

Ok, so im trying to make a dynamic cloning (js) a fieldset so we can make more at one go. somehow,...

0 Likes
0 Replies

[Package] Command Validator - Validate Laravel console commands input

Simple and lightweight package to let your Laravel console commands validate the input they receive....

0 Likes
0 Replies

Unable to open database file

Hello, I'm writing here in regarding to problem which I have got. Yesterday I started my adventure w...

0 Likes
0 Replies

File Field - Accept either single/multiple field.

So I have this form that on the main website, that uses file[] for the form field. That works fine....

0 Likes
0 Replies

Determine POST PUT PATCH in Frontend

Hi together, I am currently building a RESTful JSON API that should be accessed by web and mobile ap...

0 Likes
0 Replies

How to validate array that has only integer?

How to validate array like this below [2, 33, 24] the value should not be more than 30

0 Likes
1 Replies
posted 8 years ago

File Upload Validation Not Working

I am trying to validate a CSV file using below code. $this->validate($request, [ 'productccsv' =&...

0 Likes
0 Replies

What am I doning worng?

So I'm trying to make a new company in a CompanyContoroller includes and public function store() is...

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.