I don’t know if this is the right term, but I was wondering if CForm can handle this scenario:
[html]
<form>
<input name="data[0]">
<input name="data[1]">
<input name="data[n]">
</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.