title: in laravel my controller 3 filed value not passing
body: <blockquote>
    <p>from view i am passing 4 values 1)name 2)user_filter_id 3)user_staff_id 4)ticket_id  but it not only passing "ticket_id" other 3 values not  working it showing error</p>
    
    <p>In View I am Passing This Value</p>
  </blockquote>
  
  <pre><code>&lt;ul class="chatonline style-none "&gt;
  
      @foreach ($ticket_details as $key=&gt;$ticket_detailss)
          &lt;li&gt;
              &lt;h3 style="text-align:center "&gt;TICKET ID&lt;small  class="text-success "&gt;&lt;br type="text" id="ticket_id" name="ticket_id" &gt;{{$ticket_detailss-&gt;ticket_id }}&lt;/small&gt;&lt;/h3&gt;
          &lt;/li&gt;
           &lt;li&gt;
              &lt;h3 style="text-align:center "&gt;SUBJECT&lt;small  class="text-success "&gt;&lt;br&gt;{{$ticket_detailss-&gt;subject }}&lt;/small&gt;&lt;/h3&gt;
          &lt;/li&gt;
            &lt;li&gt;
              &lt;h3 style="text-align:center "&gt;NAME&lt;small  class="text-success "&gt;&lt;br type="text" id="names" name="names" &gt;{{$ticket_detailss-&gt;name }}&lt;/small&gt;&lt;/h3&gt;
          &lt;/li&gt;
             &lt;li&gt;
              &lt;h3 style="text-align:center "&gt;ID&lt;small  class="text-success "&gt;&lt;br type="text" id="user_filter_id" name="user_filter_id" &gt;{{$ticket_detailss-&gt;user_filter_id }}&lt;/small&gt;&lt;/h3&gt;
          &lt;/li&gt;
             &lt;li&gt;
              &lt;h3 style="text-align:center "&gt;STAFF ID&lt;small  class="text-success "&gt;&lt;br type="text" id="user_staff_id" name="user_staff_id" &gt;{{$ticket_detailss-&gt;user_staff_id }}&lt;/small&gt;&lt;/h3&gt;
          &lt;/li&gt;
      @endforeach 
  
      &lt;li class="p-20"&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <blockquote>
    <p>My controller</p>
  </blockquote>
  
  <pre><code>public function manager_send_messageChat(Request $request)
  
  {
  
    $this-&gt;validate($request, [
  
       'message' =&gt; 'required|string|max:255',
       'ticket_id' =&gt; 'string|max:255',
       'name' =&gt; 'string|max:255',
       'user_filter_id' =&gt; 'string|max:255',
       'user_staff_id' =&gt; 'string|max:255',
  
       ]);
  
         $input['message'] = $request-&gt;message;
         $input['manager_staff_id'] = Auth::user()-&gt;staff_id;
         $input['manager_filter_id'] = Auth::user()-&gt;id;
         $input['manager_name'] = Auth::user()-&gt;name;
         $input['reply_by'] = 'staff';
         $input['ticket_id'] = $request-&gt;ticket_id;
         $input['user_filter_id'] = $request-&gt;user_filter_id;
         $input['user_staff_id'] = $request-&gt;user_staff_id;
         $input['name'] = $request-&gt;name;      
         User_Ticket_Chat::create($input);
  
  
         DB::table('user_tickets')-&gt;where('ticket_id', $request-&gt;ticket_id)-&gt;update(['manager_staff_id' =&gt; Auth::user()-&gt;staff_id,'status' =&gt; 'PENDING']);
  
      return redirect('/ticket')-&gt;with('success',' THIS TICKET ASSIGNED FOR YOU .');
  
  }
  </code></pre>
  
  <blockquote>
    <p>I am facing error this</p>
  </blockquote>
  
  <pre><code>"SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_filter_id' cannot be null (SQL: insert into `user_tickets_chats` (`message`, `manager_staff_id`, `manager_filter_id`, `manager_name`, `reply_by`, `ticket_id`, `user_filter_id`, `user_staff_id`, `name`, `updated_at`, `created_at`) values (f, GSL_00006, 1, SUBDOMAIN, staff, 1560777803, , , , 2019-06-19 03:02:06, 2019-06-19 03:02:06))
  </code></pre>
  
  <blockquote>
    <p>my model</p>
    
    <p>
  
  <pre><code>class User_Ticket extends Model
  {
  protected $table = 'user_tickets';
  protected $fillable = [ 'user_filter_id','user_staff_id','ticket_id','subject','message','category','status','manager_staff_id','admin_staff_id','admin_processing','note_for_admin','prioritie','services','name'];
  }
  </code></pre>
  </blockquote>