Cform With Multiple Instances Of An Element

I don’t know if this is the right term, but I was wondering if CForm can handle this scenario:

[html]

<form>

&lt;input name=&quot;data[0]&quot;&gt;


&lt;input name=&quot;data[1]&quot;&gt;


&lt;input name=&quot;data[n]&quot;&gt;

</form>

[/html]

Where data[n] is variable, as in I don’t know how many times data will be repeated in the form.

Seems to me that the elements section works for a fixed and known amount of inputs.

check http://www.yiiframework.com/doc/guide/1.1/en/form.table