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:



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

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

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



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.