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

 

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to