On Fri, Feb 3, 2012 at 5:22 PM, Jonathan Vanasco <[email protected]> wrote:
> hopefully someone will suggest a deform method...

This sounds like the same situation I've sometimes encountered, that
you need to do validation beyond what the field validator and schema
validator can do. It can only be done in the view because it depends
on state beyond the input data. FormEncode has a 'state' variable but
it's practically useless, and in any case you may not want to put
complex state logic in the schema validator.  So the view has to be
able to set its own error messages and redisplay the form.  You can do
this with FormEncode, and if you can't do it with Deform, it means
those applications won't be able to use Deform.

-- 
Mike Orr <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to