Hi, i've patched my z3c.form.browser.text code like this:
[EMAIL PROTECTED]:~/Projekte/dev_Zope_trunk/inst03_small/lib/python/z3c/form$ svn diff Index: browser/text.py =================================================================== --- browser/text.py (Revision 77582) +++ browser/text.py (Arbeitskopie) @@ -33,6 +33,8 @@ def update(self): super(TextWidget, self).update() + if self.required: + self.addClass('required') widget.addFieldClass(self) to use a: input.required { background-color:#FFFFA0; } im my css. so all required fields have an light yellow background. the right place? may we use this in svn-trunk, too? Markus _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com