Can we see your form source code? It would be easier.

> What's even more strange is that I can gain access to each value
> individually like this:
> $form['value_name']->getValue()

What is so strange about that? It's a feature of PHP5, check
http://php.oregonstate.edu/manual/en/class.arrayaccess.php

On Wed, Mar 25, 2009 at 12:33 PM, Nickolas Daskalou <n...@daskalou.com> wrote:
>
> sf 1.2, Propel 1.3.
>
> I love Symfony. I hate the forms framework. Probably because I don't
> understand how it all ties together. Anyway, my problem:
>
> I've bound a form ($form->bind($tainted_values)) and $form->isValid()
> returns true, as does $form->isBound().
>
> However, when I try to access the values via $form->getValues(), I get
> null. What's even more strange is that I can gain access to each value
> individually like this:
>
> $form['value_name']->getValue()
>
> Note that this is a form I have manually created and extended from the
> sfForm class.
>
> Does anyone know what the .... is going on?
>
> How can I get access to all of the form values at once instead of
> manually getting each one?
> >
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to