[Grok-dev] How to create Cancel that doesn't validate form in	grok.EditForm
    Wichert Akkerman 
    wichert at wiggy.net
       
    Thu Dec 11 09:32:18 EST 2008
    
    
  
Previously Leonardo Rochael Almeida wrote:
> having to repeat "lambda *args, **kwargs: {}" kind of sucks. I usually
> define it to a constant in my apps, but I think it'd be nice if grok
> defined it as grok.FormNoValidation or somesuch.
plone.app.form has a similar constract called null_validator.
Wichert.
-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.
    
    
More information about the Grok-dev
mailing list