[Zope3-Users] formlib - preloading data

David Johnson djohnson at jsatech.com
Tue Mar 14 00:20:59 EST 2006


I am experimenting with formlib, and I'm stuck on one point, how do you set
the values of fields before they are rendered?

 

In my simple example, I simply have:

 

Form_fields = form.Fields(IContact)

 

How do I set the value of field before it is rendered?  I've been playing
with things like:

Form_fields['firstname'] = u'David' 

(which doesn't work)

 

??

 

--

David Johnson

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope3-users/attachments/20060313/92c02295/attachment.htm


More information about the Zope3-users mailing list