I'm looking through the FormEncode docs and source, trying to figure out
how to specify a single message in case validation fails for a field.
For example, email. I want to produce single message, ie. "Invalid email
address", instead of several depending on the kind of validation failure
(badType, badUsername, empty, ...).

Other than writing my own validator, or parsing Invalid exception's
error dict for fields that failed, is there another way?


Thanks,


Vlad

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