hi there,

I'm playing with AcmePizzaBundle, in order creation, we have 2
choices:

- customer is known : phone number is used to retrieve the customer
- customer is new : we have to fill address fields to create the
customer

The problem is that when customer is known, form->isValid() always
return false because it still tries to validate address (which is
blank because we don't care about that)...

So the question: how can we disable (sub-)form validation depending on
another field (basically a radio input like yes/no)

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" 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-devs?hl=en

Reply via email to