Hi all,
I have a form with an embedded form and I'd like to reorder the fields
in the form and optionally mix fields from the main form and the
embedded form.
I found this blog post 
http://www.blogs.uni-osnabrueck.de/rotapken/2009/03/13/symfony-merge-embedded-form/
and I think the approach is not bad.
But I want to use a sfValidatorDoctrineUnique as postValidator on a
field of the embedded form. Since the form fields of the embedded
forms are renamed in the process of merging the forms (e.g. email =>
profile|email) the validator does not find a form field matching the
database field and passes.

Is there a better approach to be able to mix and reorder form fields
with embedded form fields?

Cheers,
Lea

-- 
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

Reply via email to