i have enctype="multipart/form-data". i want multiupload file validation for this form.
my form is here.
{!! Form::model($article = new \App\Article,['action' => 'ArticleController@store','files' => true]) !!}
<div class="form-group">
{!! Form::label('title', 'Title',['style' => 'font-weight: bold;']) !!}
{!! Form::text('title', null, ['class' => 'form-control', 'placeholder' => 'Enter Title'] ) !!}
</div>
<div class="form-group">
{!! Form::label('tag_list', 'Tags',['style' => 'font-weight: bold;']) !!}
{!! Form::select('tag_list[]', $tags, null, ['class' => 'form-control','id'=>'select', 'multiple'] ) !!}
</div>
<div class="form-group">
{!! Form::label('body', 'Body',['style' => 'font-weight: bold;']) !!}
{!! Form::textarea('body', null, ['class' => 'form-control', 'placeholder' => 'Enter Title'] ) !!}
</div>
<div class="form-group">
{!! Form::label('date', 'Date',['style' => 'font-weight: bold;']) !!}
{!! Form::text('published_at', $article->published_at, ['class' => 'form-control','id' => 'date'] ) !!}
</div>
<div class="form-group">
{!! Form::label('image_upload', 'Upload image',['style' => 'font-weight: bold;']) !!}
{!! Form::file('images[]',['class'=>'form-control','id' => 'image_upload', 'multiple']) !!}
</div>
<div class="form-group">
{!! Form::submit('Add article',['class' => 'form-control btn btn-primary']) !!}
</div>
{!! Form::close() !!}
@if($errors->any())
<ul class="alert alert-danger">
@foreach($errors->all() as $error)
<li>{{$error}}</li>
@endforeach
</ul>
@endif