I believe you just need to add an updateXXXField function to the form,
where XXX is the camelized fieldname.
That method is passed the value just before saving, and you return the
updated value, or false to remove it.

Daniel

On Oct 9, 3:08 pm, Eno <symb...@gmail.com> wrote:
> I need to the values in some form fields when processing the form
> right before I call save(). Just wondering what would be the best
> approach to doing that? I was going to override the doSave() and
> modify the fields there before calling parent::doSave() but maybe
> that's not the best way? Anyone have any sample code?
>
> --
--~--~---------~--~----~------------~-------~--~----~
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