[Zope3-Users] Formlib - handleSubmit, custom validator on action

Fred Drake fdrake at gmail.com
Thu Mar 29 05:52:51 EDT 2007


On 3/29/07, Darryl Cousins <darryl at darrylcousins.net.nz> wrote:
> but the line previous says
>
>   data = {}
>
> So my validator always receives an empty dictionary to validate.

The validator is responsible for populating `data` with the valid
values.  That's definitely covered in the docs somewhere.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Every sin is the result of a collaboration." --Lucius Annaeus Seneca


More information about the Zope3-users mailing list