1 $request->validate([
2 'start_date' => 'date_format:d/m/Y',
3 'end_date' => 'date_format:d/m/Y'
4 ]);
1 return [
2 'deadline' => 'required|date_format:Y-m-d H:i:s|after_or_equal:today',
3 ];
1 @if ($errors->any())
2 @foreach ($errors->all() as $error)
3 <div>{{$error}}</div>
4 @endforeach
5 @endif
6