Hi,

I have a form with 3 subforms. All the subforms have same elements. And one
of the elements is file input.

But I noticed that element name of the file input element has no array
notation.

Now I have following element names:

id - element belongs to form
subform1[catId]
subform1[name]
*image - element belongs to subform1*
subform2[catId]
subform2[name]
*image - element belongs to subform2*

In this case, upload of two files in a separete subforms, with same element
name is not possible.

What I expect is:
id
subform1[catId]
subform1[name]
*subform1[image]*
subform2[catId]
subform2[name]
*subform2[image]*

Is this wanted behavior or is this a bug?

PS.: I've debuged a bit, and I could notice, that File Decorator doesn't use
getFullyQualifiedName() method to create the element name.

--
Regards,
Vladas Diržys

Reply via email to