title: How can validate and show atleast one dropdown required using laravel validation
body: <p>I have a form that form has two dropdown. If I submit form I need to validate and show at-least one dropdown required. I have added some functionality but not working.</p>
  
  <p><strong>create.blade.php</strong></p>
  
  <pre><code>&lt;select class="form-control" id="user" name="user"&gt;
       &lt;option value="0"&gt; select user &lt;/option&gt;
       &lt;option value="1"&gt; jane &lt;/option&gt;
       &lt;option value="2"&gt; peter &lt;/option&gt;
  &lt;/select&gt;
  
  &lt;select class="form-control" id="email" name="email"&gt;
       &lt;option value="0"&gt; select email&lt;/option&gt;
       &lt;option value="1"&gt; jane@gmail.com &lt;/option&gt;
       &lt;option value="2"&gt; peter@gmail.com &lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p><strong>CreateRequest.php</strong></p>
  
  <pre><code>public function rules()
  {
     $rules = [
               'user' =&gt; 'required_without_all:email|not_in:0',
               'email' =&gt; 'required_without_all:user|not_in:0',
              ];
     return $rules;
  }
  </code></pre>