On 5/9/07, Maciej Wisniowski <[EMAIL PROTECTED]> wrote:
You can have different validators for different actions. If only
In fact, it's very important that the validators be separate for different actions, since some actions do very different things (and might not need/want to validate all fields the same way). I know I've written actions that expect to manipulate the form data in some way, based on other data in the form, and then redisplay the form. Most fields would not be expected to validate in this particular case, and only by avoiding the "default" validator could this have been made to work. So while the behavior may seem a little odd, it let's you construct the validation scenarios you need. -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> "Chaos is the score upon which reality is written." --Henry Miller _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com