[symfony-users] Re: Modifying form object values before saving

2009-10-12 Thread Eno
On Fri, 9 Oct 2009, Richtermeister wrote: 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. After some digging, it seems

[symfony-users] Re: Modifying form object values before saving

2009-10-12 Thread Richtermeister
Hey Eno, err, yeah, sorry. Was writing from memory. :) Daniel On Oct 12, 8:45 am, Eno symb...@gmail.com wrote: On Fri, 9 Oct 2009, Richtermeister wrote: I believe you just need to add an updateXXXField function to the form, where XXX is the camelized fieldname. That method is passed

[symfony-users] Re: Modifying form object values before saving

2009-10-09 Thread Richtermeister
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