Why are you embedding a second form for this purpose at all? That
strikes me as the oddest part of the code.

Also looking at this code:

$files->widgetSchema['file_' . $i] = new sfWidgetFormInputFile
(array('label' => 'Bild ' . ($i + 1)), array('name' => 'upfile_' .
$i));

I note that you are explicitly setting the 'name' of the widget to
upfile_$i instead of file_$i which is what you're giving it in the
schema. That strikes me as very strange and I don't picture it
bind()ing successfully but perhaps since it has no name schema...

Finally, if $_FILES is completely empty, are you sure you are setting
the enctype to multipart/form-data in your form tag?

-- 
Tom Boutell

www.punkave.com
www.boutell.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to