[symfony-devs] Re: validator call if a value empty

2007-05-14 Thread zemorena
On May 13, 10:31 am, "Gert Vrebos - Tactics bvba" <[EMAIL PROTECTED]> wrote: > Yeah, this is an annoying issue I ran into several times... > I guess you should create a validator on the required field and check the > other field in that same validator. > > Gert. Thanks a lot. That's how I handl

[symfony-devs] Re: validator call if a value empty

2007-05-13 Thread Gert Vrebos - Tactics bvba
: vrijdag 11 mei 2007 16:51 To: symfony developers Subject: [symfony-devs] Re: validator call if a value empty my problem is a similar one ... i want to make a field required but only if a previuos field has been completed with a certain value to be more clear: on my form i have a field with

[symfony-devs] Re: validator call if a value empty

2007-05-11 Thread zemorena
my problem is a similar one ... i want to make a field required but only if a previuos field has been completed with a certain value to be more clear: on my form i have a field with possible answers 'yes' / 'no' if answer is 'yes', the next field is required else field is not required can you

[symfony-devs] Re: validator call if a value empty

2007-05-11 Thread zemorena
On May 10, 1:33 pm, "Franke Gordon" <[EMAIL PROTECTED]> wrote: > Hello, > > is that right that i can“t call my own validator on a empty field? > > sfValidatorManager.class.php line 254 > > The problem is that i have two fields username and email so the user can use > one of them. > > But when b