title: take some text in blade for request Laravel
body: <p>How to take a value (B{{ $some_y_len + 1 }}) in tag &lt; object &gt;  as request in Controller?I already add 'name' attribute in this tag. But It either isn't working or null in my Controller.php files. This code is in blade.php :</p>
  <pre><code>&lt;div class=&quot;alert alert-default&quot; role=&quot;alert&quot;&gt;
              &lt;h2 style=&quot;color: aliceblue;&quot;&gt;&lt;strong&gt;+- {{ 7*($some_y_len) }} menit&lt;/strong&gt; ({{ $some_y_len}} Antrean)&lt;/h2&gt; &lt;br&gt;
              No. antrean sekarang :&lt;object name=&quot;no_some_y&quot;&gt;&lt;strong&gt; B{{ $some_y_len + 1 }} &lt;/strong&gt;&lt;/object&gt;&lt;br&gt;
              Rata-rata  Tiap Antrean : &lt;strong&gt; 9 menit&lt;/strong&gt;
          &lt;/div&gt;
  </code></pre>
  <p>and its in Controller.php, I took for store() functions. Because this request value would store to database</p>
  <pre><code>public function store(Request $request)
  {
      //
      $string = $request-&gt;service;
      $id = (int)substr($string, 0,2);
      if ($string == &quot;--Select One--&quot;){
          Alert::error('Error', 'Pilihan Layanan Tidak Valid');
          return back();
      }
  
      else {
  
          $no_antre = &quot;&quot;;
          if ($id == 1){
              $no_antre = $request-&gt;no_some_x;
          }
          else if ($id == 2) {
              $no_antre = $request-&gt;no_some_y;
          }
          else if ($id == 3) {
              $no_antre = $request-&gt;no_some_z;
          }
          else if ($id == 4) {
              $no_antre = $request-&gt;no_some_w;
          }
  
          dd($request-&gt;no_samsat);
          $user = Auth::user();
          $services = Miniproject::create([
          'instansi_id' =&gt; $id,
          'jenis_layanan' =&gt; $request-&gt;service,
          'user_id' =&gt; $user-&gt;id,
          'no_antrian' =&gt; $no_antre
          ]);
  
  
          Alert::success('Success', 'Berhasil Mendapatkan Kode Antrian');
  
          return redirect('/miniproject');
      }
  
  }
  </code></pre>