title: Display validation error in tabs using laravel
body: <p>In my view I've 3 tabs where different types of data are displayed. In my 3'rd tab i post some data where i use laravel validation. My problem is the validation errors are displayed in my first tab. What should i do to display the errors in the 3'rd tab.</p>
  
  <p>my controller</p>
  
  <pre><code>$validator = Validator::make($request-&gt;all(), Rules::Event($request));
          if ($validator-&gt;fails()) {
             return back()-&gt;withErrors($validator)-&gt;withInput();
          }
  </code></pre>
  
  <p>view page</p>
  
  <pre><code>&lt;ul class="nav nav-tabs"&gt;
            &lt;li class="active"&gt;&lt;a data-toggle="tab" href="#home"&gt;Upcoming Events&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a data-toggle="tab" href="#menu1"&gt;Popular Events&lt;/a&gt;&lt;/li&gt;
            &lt;li &gt;&lt;a data-toggle="tab" href="#menu2"&gt;Post an Event and sell ticket&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
  
  &lt;div class="tab-content"&gt;
  
   &lt;div id="home" class="tab-pane fade in active"&gt;
  ................
  &lt;/div&gt;
  
   &lt;div id="menu1" class="tab-pane fade"&gt;
  ..............
  &lt;/div&gt;
  
   &lt;div id="menu2" class="tab-pane fade"&gt;
  
  &lt;div class="event_tab_holder"&gt; 
  
  
                  @if (count($errors) &gt; 0)
                      &lt;div class="col-lg-12"&gt;
                          &lt;div class="alert alert-danger"&gt;
                              &lt;button type="button" class="close" data-dismiss="alert" aria-hidden="true"&gt;&amp;times;&lt;/button&gt;
                              &lt;h5&gt;&lt;strong&gt;{{ t('Oops ! An error has occurred. Please correct the red fields in the form') }}&lt;/strong&gt;&lt;/h5&gt;
                              &lt;ul class="list list-check"&gt;
                                  @foreach ($errors-&gt;all() as $error)
                                      &lt;li&gt;{{ $error }}&lt;/li&gt;
                                  @endforeach
                              &lt;/ul&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  @endif
            &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How to implement this? Please help me,Waiting for a response......</p>