Ok well I figured most of this out already. So please ignore it =]

Slick Rick wrote:
> Does anyone have a basic example of how validation works with 1.1 forms, and 
> how errors are captured and redisplayed?  I'm also interested in how the 
> fillin filter works in 1.1.
>
> In my sfForm class, I have:
>
>     $this->setValidatorSchema(
>      new sfValidatorSchema(array(
>        'name' => new sfValidatorString(array('min_length' => 2, 'max_length' 
> => 63)),
>      )));
>
> Once the form is posted, how do I tell symfony to report errors based on this 
> data?  Curently, when I submit a form with errors, it doesn't report any 
> errors, and the fillin filter appears to not work.  Not sure where I would 
> enable this in the new system.
>
> Thanks,
>
> -- Ian
--~--~---------~--~----~------------~-------~--~----~
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