That was exactly what I was looking for. Thanks, been staring at it for a while now!
On Jul 26, 9:01 pm, Gábor Fási <maerl...@gmail.com> wrote: > I'm not sure I get what you mean. If you want to make sure one date is > later than another one, I suggest you set up an > sfValidatorSchemaCompare [1] instance as a post validator. > > [1]http://www.symfony-project.org/forms/1_2/en/B-Validators#chapter_b_su... > > > > On Sun, Jul 26, 2009 at 21:35, johnwards<johnwa...@gmail.com> wrote: > > > Hello, > > > I have a form containing dates, I have two fields called: > > > Auction date > > Baseline required by > > > Auction date must be after the baseline date, now I can do this on > > existing objects by using the date validator and the "min" field. > > However, I need the tainted value for edits and new data. The tainted > > values are not avaliable until after bind. > > > Now I could overload the bind method and then call my setup of > > validators after then but this seems wrong, especially since bind uses > > the validators...so I'd have to call them twice?? > > > I'm sure I am missing something here...help. > > > Cheers > > John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---