[Product-Developers] how to hide widget's label?

Nathan Van Gheem vangheem at gmail.com
Tue Jan 27 15:13:40 UTC 2009


I think you can just set the field label to nothing,

StringField('something',
>         widget = StringWidget(
>             description = "",
>             label=""
>         )
>     ),
>

Untested, but worth a shot.
On Tue, Jan 27, 2009 at 8:59 AM, SimO <simahawk at gmail.com> wrote:

> Hi guys,
>
> I'd like to hide the label of the widgets of my custom AT type without
> modifing the widgets' templates:
>
> is there any parameter to be passed to the widget's call to reach this?
>
>
> Thanks
>
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20090127/8a5c2234/attachment.html>


More information about the Product-Developers mailing list