Support the ongoing development of Laravel.io →
posted 10 years ago
Input
Last updated 2 years ago.
0

files is plural in your validation rules, but singular when you declare the field in the view. Change your rule to 'file' instead of 'files'

Last updated 2 years ago.
0

stickman373 said:

files is plural in your validation rules, but singular when you declare the field in the view. Change your rule to 'file' instead of 'files'

i changed it still the same problem

Last updated 2 years ago.
0

If i fill in everything except a file i only get the file is required error if i fill in everyting with the file i get a error for every (title required, bericht required, file requiered)

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.