I'm new to php and new to Symfony and have been following The More with Symfony: Advanced Forms Tutorial. In this schema, there are products and product photos (where a product can have many product photos). I have embedded 2 productPhoto forms into a ProductPhotoCollectionForm class and this in turn, gets embedded into my ProductForm. What I don't understand is that my form works when the form is rendered using:
<?php include_partial('form', array('form' => $form)) ?> ,but when I try to manually render the fields myself as in <?php echo $form['name']->renderLabel(null, array('label' => 'Name:', 'class' => 'inlineLabel'))?> <?php echo $form['name']->render(array('class' => 'inlineField'))?> the form submission fails, and my sfValidatorFile fires off it's "required" message even if I have supplied a filename. I am using Symfony 1.4 btw. Any help would be much appreciated. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.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