title: How to display validation error and other errors together in Laravel?
body: <p>In my controller there are a bunch of validations. After validating them I check if a certain element is present in the session. If that element is absent then I send another error. I want to show all the validation error and other error together. </p>
  
  <pre><code> $this-&gt;validate($request,[
          'other11' =&gt; 'nullable|image',
          'other12' =&gt; 'nullable|image',
          'other13' =&gt; 'nullable|image',
          'other14' =&gt; 'nullable|image',
          'other15' =&gt; 'nullable|image',
      ]);
  
      if(session()-&gt;get('media')['other10']==NULL)
      {
          return back()-&gt;withErrors(['other10'=&gt;'No data in session']);
      }
  </code></pre>
  
  <p>Currently, if there is a validation error then the error regarding 'other10' field is not displayed in the view. Is there a way to return both the validation error and the error regarding 'other10' together to the view? </p>