Re: [Plone-Users] [Archetypes-users] suppress emty fields

Daniel Nouri <[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <[email protected]>
On Mon, 2006-02-27 at 10:04 +0100, Dietrich Pescoller wrote:
> Hi all,
> I have the following question:
> 
> Is it possible to suppress the visualisation of a field in case it is
> empty?
> 
> Now if a field, for instance a StringField, is empty, its title still
> displayed anyway in the view. Is there a way to avoid this? I would like
> to suppress all in case it empty also the title/label.
> 

This really belongs to archetypes.users, but:

Looks like widgets can have a condition expression:
http://dev.plone.org/archetypes/browser/Archetypes/branches/release-1_3-branch/Widget.py#L109


Daniel Nouri





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.