I would probably write a custom validator similar to the compare validator used for passwords.. This way, you can pass the state and the city to the validator and run whatever validation you need on both..
Daniel On May 9, 4:37 pm, James <[EMAIL PROTECTED]> wrote: > You could store the state in a session variable when it's validated, > then when the city is validated have it's validator check the session > variable to see if it's correct. > > James > > On May 9, 2008, at 4:09 PM, Razvan Popa wrote: > > > > > Hello. > > I have this situation where I have a select_tag (with states) ... > > and a > > remote_function that loads a second select_tag (cities). > > I need to make a validator for these two selects. Any > > ideeas/snippets/anything helpful about how I should go about this? > > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
