Could you post the code from your form?

On Fri, Aug 13, 2010 at 7:36 PM, Jonotron <[email protected]> wrote:

> I have a form that uses a sfWidgetFormDoctrineChoice widget and I pass
> a query to it that selects my "category" records based on another
> hidden field. My query has a ->where('a.id = ?', $this->getObject()-
> >getCategoryId());
>
> This works great when I am looking at the new form (as I create the
> form from a new object).
>
> But when the form tries to validate and fails, my choice widget does
> not render. It appears as though I cannot call sfForm->getObject()
> after the sfForm->bind() function is called. In searching it appears
> as though there isn't a way to grab the form values when it is
> invalid.
>
> Is there a better way to solve what I'm trying to do, or am I missing
> something obvious here?
>
> --
> 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 users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

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