Second independant form inside another form in laravel
<p>I'm trying to make something that I'm not sure if is possible and how exactly can happen. </p>

<p>What I want is to have one table which is in form and one addition form inside. The depending of which button I hit to perform different actions in controller. Here is what I have so far</p>

<p>my blade</p>

<pre><code>{{ Form::open(array('url' =&gt; 'admin/inv')) }}
      {{ Form::open(array('url' =&gt; 'admin/inv/multiPC')) }}
      &lt;table class="table table-bordered"&gt;
            &lt;tbody&gt;
            &lt;tr&gt; 
                &lt;td&gt;&lt;input type="checkbox" name="delete[]" value="{{ $product-&gt;product_id }}"&gt; &lt;/td&gt;
                &lt;td&gt;&lt;strong&gt;${{ $product-&gt;price }}&lt;/strong&gt;&lt;input type="number" name='price[]'  class="form-control"/&gt;&lt;/td&gt;
            &lt;/tr&gt;
            &lt;/tbody&gt;
      &lt;/table&gt;
  &lt;button type="submit" href="{{ URL::to('/admin/del') }}?_token={{ csrf_token() }}"&gt;Delete&lt;/button&gt;
  &lt;button type="submit" href="{{ URL::to('/admin/multiPC') }}?_token={{ csrf_token() }}"&gt;Update Price&lt;/button&gt;       
     {{ Form::close() }}
{{ Form::close() }}    
</code></pre>

<p>Those are both functions</p>

<pre><code>public function pDelete() {


     $delete = Input::only('delete')['delete'];
     $pDel = Product::whereIn('product_id', $delete)-&gt;delete();

     return Redirect::to('/admin/inv')-&gt;with('message', 'Product(s) deleted.');
}   

public function priceUpdate() {


     $pchanges-&gt;price = Input::only('price')['price'];
     $pChange = Product::whereIn('product_id', $pchanges);

     $pChange-&gt;save();
     return Redirect::to('/admin/inv')-&gt;with('message', 'Product(s) price changed.');
}
</code></pre>

<p>And route</p>

<pre><code>Route::post('/admin/inv', ['uses' =&gt; 'AdminController@pDelete', 'before' =&gt; 'csrf|admin']);
Route::post ('/admin/inv/multiPC', ['uses' =&gt; 'AdminController@priceUpdate', 'before' =&gt; 'csrf|admin'])
</code></pre>

<p>What happen is when I check product and hit <code>Delete</code> button product is deleted. But when I input price in the input field for price and hit <code>Update Price</code> page only refreshed and price isn't changed. </p>

<p>Is there a way to accomplish this without using JS?</p>