Hi Alex,

I haven't looked too deep in the subject, so this is not going to be a
magical solution ;) But since there's some validation logic that
involves more than 1 field, you'll have to play around with global
validators - take a look at
http://www.symfony-project.org/forms/1_2/en/02-Form-Validation#chapter_02_global_validators

Hope that was a valid starting point! :)

Best Regards,
Campezzi


On Jun 2, 12:43 pm, Alex Gilbert <[email protected]> wrote:
> Field A is not required, but if Field A does contain a value then
> Field B is required.
>
> Can I use sfValidatorOr to do this or is there something more involved
> with sfValidatorSchema I need to be looking into?
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to