title: How to name nested form input with association
body: <p>when I post the form, I need some association between the "vsc" and the "vscitems" - (the amounts)
  ![enter image description here][1]
  Both of these sections can be cloned and the ui is working as expected, but I need to get these items in a database and can't figure out how to change the input name so that I can capture that on the post.</p>
  
  <p>Basically, I can't figure out how to put the make the subrows have the same name. I need to loop over two sections of the form.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div class="vscrow nest-clone"&gt;
  &lt;div class="toclone well vsc"&gt;
      &lt;div class="row"&gt;
          &lt;div class="col-sm-5"&gt;
              &lt;div class="form-group"&gt;
                  &lt;input type="text" id="vsc" name="vsc" class="form-control vscdesc" required #readonly#&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="row vscitems"&gt;
          &lt;div class="nest-clone inner-wrap"&gt;
              &lt;div class="row toclone"&gt;
                  &lt;div class="col-sm-1 col-sm-offset-1"&gt;
                      &lt;div class="form-group"&gt;
                          &lt;input type="number" id="vscpenetration" name="vscpenetration" value="" class="form-control text-right"&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class="col-sm-2"&gt;
                      &lt;div class="form-group"&gt;
                          &lt;div class="input-group"&gt;
                              &lt;div class="input-group-addon"&gt;$&lt;/div&gt;
                              &lt;input type="number" id="vscpayrate" name="vscpayrate" value="" class="form-control text-right"&gt;
                              &lt;div class="input-group-addon"&gt;.00&lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt; &lt;a href="#" class="clone btn btn-default"&gt;&lt;i class="fa fa-plus"&gt;&lt;/i&gt;&lt;/a&gt;
  &lt;a href="#" class="delete btn btn-default"&gt;&lt;i class="fa fa-minus"&gt;&lt;/i&gt;&lt;/a&gt;
  
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt; &lt;a href="#" class="clone btn btn-default"&gt;&lt;i class="fa fa-plus"&gt;&lt;/i&gt;&lt;/a&gt;
  &lt;a href="#" class="delete btn btn-default"&gt;&lt;i class="fa fa-minus"&gt;&lt;/i&gt;&lt;/a&gt;
  
  &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>