[Product-Developers] Re: zope.formlib - field widths
derek at pointerstop.ca
Tue Jun 9 21:00:56 UTC 2009
Derek Broughton wrote:
> I must be blind, because I can't find a way to specify the HTML <INPUT>
> field size. If I specify max_length for any of the various zope.schema
> string fields, it seems to be used purely for validation, and no matter
> what size I want the field to be, I get somewhere in the vicinity of 25
> characters (the page is actually generated with SIZE=20).
> How can I make my text (actually schema.URI) fields 100 characters long?
Ugh. It appears I have to set .custom_widget.
More information about the Product-Developers