Hi i have a form with an embeded form named 'additional' form is like this : user[name] user[last] user[additional][1] user[additional][2]
i need to separate these 2 form in template, currently i user this method , is there a better method for doint it ? <?php $additional = 'user[additional]'; ?> <?php foreach($form as $element): ?> <?php if (! $element->isHidden() AND strpos($element->renderName(), $additional) === false): ?> <?php echo $element->renderRow(); ?> <?php endif; ?> <?php endforeach; ?> i can separate additional by using user[additional] in foreach , but dont now how for main form -- 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