Support the ongoing development of Laravel.io →

629 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 7 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

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

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

How to use translation when using validator->errors()->add()

Hi there, To perform some custom validation on my form request i've implemented the prtected functio...

0 Likes
2 Replies

[Unit Test] Progressive unit test for uploaded files with validation

how is exactly build a unit test for uploaded files ? i have use a $this->call(<method>,<...

0 Likes
9 Replies

How can I create a widget contains form and submit it to the same widget without changing the page

Dear all I'm going to create some widgets on the left side of the master layout One of these widgets...

0 Likes
0 Replies

Password::reset without email field

Hello how can I override Password::reset so that it takes only token and password without email ? A...

0 Likes
2 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?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.