title: Get Value input multi rows Yii
body: <p>How do I pass a form value to the controller, <code>actionCreate function ()</code> specifically. Exemplifying. I have the following code in the form:</p>
  
  <pre><code>    &lt;tbody class="templateTarget"&gt;
      &lt;php foreach ($ items as $ i =&gt; $ item):?&gt;
      &lt;tr class="templateContent"&gt;
      &lt;td&gt;
      &lt;php echo $ form-&gt; textField ($ item, "[$ i] name", array ('style' =&gt; 'width: 100px'));?&gt;
      &lt;/ td&gt;
      &lt;td&gt;
      &lt;php echo $ form-&gt; textField ($ item, "[$ i] description ', array (' style '=&gt;' width: 100px '));?&gt;
      &lt;/td&gt;
      &lt;td&gt;
      &lt;input type = "hidden" class = "rowIndex" value = "&lt;? php echo $i;?&gt;" /&gt;
      &lt;div class="remove"&gt; &lt;php echo Yii:: t ('wm', 'Remove');?&gt;
      &lt;/ td&gt;
      &lt;/tr&gt;
      &lt;php endforeach;?&gt;
  </code></pre>
  
  <p>I have a form where I use to create tabular input multiple rows where I have a button to add a new line, I need to know how many rows were filled by this is that the problem presented above.<br> Well if you can pass the value of the variable $ i help me a lot.<p> Thank you.</p>