If it vailed validation it should not pass the isValid() method, which
is called before I try to access these values.  This is why I am
confused as to why this is happening.

On Jun 6, 2:45 am, IsRobot <[EMAIL PROTECTED]> wrote:
> $form['field']->getValue() works on the widget bind and just gives you
> the value.
>
> $form->getValue('field') will test to see if the field (widget) is
> bound and set before returning the 'cleaned' value, otherwise it will
> return null.
>
> Perhaps when you are using $form->getValue('field') you are not
> getting the results you expect because the field has not bound because
> it failed validation?
--~--~---------~--~----~------------~-------~--~----~
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