Hello,

I have been implementing a new app using Symfony 1.1 since a few days.
I have implemented some forms using the new system and everything
works fine. I have two (distinct) problems however:

- I would like to have all validation errors reported as general
errors and not besides the field in error. Basically, I would like
each error to be added to a flash message. How can I do this using the
new form and validation system?

- I need to place a form in a layout file and/or in a partial. How can
I link the form in the view to a form in a controller so that its
fields are repopulated with the user's values in case of a validation
error?

Thanks,
mynab

PS: I have seen that ->setError has been deprecated but could not see
its replacement. I am using a flash message instead but as wondering
if this was the right way to go...
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to