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. -----Original Message----- From: symfony-devs@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of zemorena Sent: 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 possible answers 'yes' / 'no' if answer is 'yes', the next field is required else field is not required can you help me ? creating my own custom validator doesn't work because "i can“t call my own validator on a empty field" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---