Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel check if form has errors

@if ($errors->any())
<ul>
    @foreach ($errors->all() as $error)
    <li class="text-red-500 text-xs">{{ $message }}</li>
    @endforeach
</ul>
@endif
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #laravel #check #form #errors
ADD COMMENT
Topic
Name
4+8 =