title: Laravel - Validation Message not showing on blade
body: <p>I'm having trouble on showing the validation error messages. I tried the other similar questions but doesn't work for me. Please help me.</p>
  <p>This is my <strong>Controller.blade.php</strong></p>
  <pre><code>    public function store(Request $request)
      {
          $this-&gt;validate($request,[
              'surname'=&gt;['required', 'string', 'max:255'],
              'firstname'=&gt;['required', 'string', 'max:255'],
              'birthday'=&gt;'required',
              'pofbirth'=&gt;['required', 'string', 'max:255'],
              'gender'=&gt;['required', 'numeric'],
              'address'=&gt;['required', 'string', 'max:255'],
              'city'=&gt;['required', 'string', 'max:255'],
              'district'=&gt;['required', 'string', 'max:255'],
              'cap'=&gt;['required', 'string', 'max:255'],
              'cstatus'=&gt;['required', 'string', 'max:255'],
              'conjugated'=&gt;['required', 'string', 'max:255'],
              'cellphone'=&gt;['required', 'numeric'],
              'email'=&gt;['required', 'string', 'email', 'max:255'],
              ]);
  </code></pre>
  <p>This is my <strong>message.blade.php</strong></p>
  <pre><code>@if (count($errors) &gt; 0)
    @foreach ($errors-&gt;all() as $error)
      &lt;p class=&quot;alert alert-danger&quot;&gt;{{ $error }}&lt;/p&gt;
    @endforeach
  @endif
  
  @if (session()-&gt;has('message'))
  
      &lt;p class=&quot;alert alert-success&quot;&gt;{{ session('message') }}&lt;/p&gt;
  
  
  @endif
  </code></pre>
  <p>This is my <strong>blade.php</strong></p>
  <pre><code>    @include('includes.navbar')
      
      &lt;div class=&quot;col&quot; style=&quot;background-color: #ffffff;&quot;&gt;
          @include('includes.message')
          &lt;form  method=&quot;POST&quot; action=&quot;{{ route('app.store')}}&quot; enctype=&quot;multipart/form-data&quot;&gt;
              {{ csrf_field() }}
          &lt;div class=&quot;container shadow&quot; style=&quot;background-color: rgb(248,249,250);&quot;&gt;
              &lt;div class=&quot;row&quot;&gt;
                  &lt;div class=&quot;col&quot;&gt;
  ...
  ...
  ...
  </code></pre>
  <p>Thank you so much!</p>