<we:ifNotEmpty>
Since version: - | Requires endtag: yes
Description
Content enclosed by this tag is only displayed if a particular field is not empty. The operation is performed only on the preview and final pages, but not in edit mode.
Attributes
match
Default value: - | since version: - | required: yes
Set this attribute to the name of a field to test.
type
Default value: - | since version: - | required: no
Set this attribute to the type of target field being used. Valid parameters are: "img", "flashmovie", "href". For other types, leave the parameter empty.
Allowed values:
- img
- flashmovie
- href
- object
doc
Default value: - | since version: - | required: no
Set this attribute to the location of the field to be compared. The attribute "top" refers to the main webEdition document even if this tag was included in another document. The attribute "self" refers to the actual document, in which this tag appears.
Allowed values:
- self
- top
Syntax
<we:ifNotEmpty match="attribute" [type="img|flashmovie|href|object"] [doc="self|top"]> ... </we:ifNotEmpty>