Thanks, i thought to do that but why there is not solution ?

On 27 jan, 15:40, Bernhard Schussek <[email protected]> wrote:
> That's no problem the form framework can solve for you, it's a
> programmatic problem.
>
> You can either:
>
> 1. Output the fields manually
>
> echo $form['field']
>
> 2. Add conditionals in the loop
>
> foreach ($form as $name => $field)
> {
>   if (in_array($name, array('name', 'address')))
>   {
>     ...
>   }
>   else if ($name != 'foobar')
>   {
>     ...
>   }
>
> }
>
> Bernhard

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

Reply via email to