[Zope3-Users] Arranging widgets in a form / Limit size of input fields

Hermann Himmelbauer dusty at qwer.tk
Wed May 2 09:07:42 EDT 2007

I'd like to know how to arrange (e.g. group) widgets in a form with formlib. 

One way would be to create a custom template file, where each widget is placed 
via HTML. However, this is quite some work. 

Another way would be to place the fields via CSS.

How do you deal with form layout?

Moreover I wonder if it's possible to customize the attributes "size" 
and "maxlength" of HTML input fields via the zope schema. Schemas offer the 
attribute "max_length", however this does not affect the rendered HTML - size 
seems to be always set to "20", maxlength is never set.

Is there any solution to this?

Best Regards,

x1 at aon.at
GPG key ID: 299893C7 (on keyservers)
FP: 0124 2584 8809 EF2A DBF9  4902 64B4 D16B 2998 93C7

More information about the Zope3-users mailing list