I'm currently trying to create a form using Zend_Form. Inside the form there is a displayGroup of File element and Text element. Since it is a dynamic form, I would like the input field names to be in array form (something like the one below).
requestRow[1][fileName]
requestRow[1][fileDesc]
requestRow[2][fileName]
requestRow[2][fileDesc]
setElementsBelongTo() worked for the text elements but not on the File elements. Is it the correct behavior? Or do I need extra method call or attribute/property for that?
If it is the specification, is there any workaround for that?
I have also tried manually setting the File element name with array format but it also doesn't work.
I'm using Zend 1.12
Thank you in advance!