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

Darryl Cousins darryl at darrylcousins.net.nz
Thu Mar 29 09:25:58 EDT 2007


Cheers all.

On Thu, 2007-03-29 at 09:24 -0400, Fred Drake wrote:
> On 3/29/07, Darryl Cousins <darryl at darrylcousins.net.nz> wrote:
> > OK. Then what I'm missing is how to assign a value to that variable
> > `data` because in my code
> ...
> > So I am always getting an empty dictionary back to my action method.
> 
> Don't set the `data` variable; add values to it:
> 
>   data["myfield"] = somevalue
> 
> 
>   -Fred
> 



More information about the Zope3-users mailing list