On 3 oct, 18:27, adrive <[EMAIL PROTECTED]> wrote:
> What is the best way to implement on two forms like this such
> conditional validators:
> If is_review in ArticleForm is set, rating from ArticleReviewForm is
> required.
> If one of opposite_ fields is set, the other ones are required.

Maybe you can use the logical validator Or/And?

http://www.symfony-project.org/book/forms/1_1/en/02-Form-Validation#Logical%20Validators



--~--~---------~--~----~------------~-------~--~----~
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