<we:ifField>
Since version: 4.0 | Requires endtag: yes | Required modules: object
Description
This tag is used between the start tag and end tag of we:repeat. Everything between the start and end tags of this tag is displayed only if the value of the attribut "match" is identical with the value of database field of the associated listview entry.
Attributes
name
Default value: - | since version: 4.0 | required: yes
Set this to the name of the target field to check.
type
Default value: - | since version: 4.0 | required: yes
Set this attribute to the type of the database field being used.
Allowed values:
- text
- date
- img
- flashmovie
- href
- link
- day
- dayname
- month
- monthname
- year
- select
- binary
- float
- int
- shopVat
- checkbox
match
Default value: - | since version: 4.0 | required: yes
Set this attribute to the value to be checked for content.
striphtml
Default value: false | since version: 4.0 | required: no
Ist the value of this attribut set to "true" all HTML-tags will be removed.
Allowed values:
- false
- true
Syntax
<we:ifField name="attribute" type="text|date|img|flashmovie|href|link|day|dayname|month|monthname|year|select|binary|float|int|shopVat|checkbox" match="attribute" [striphtml="false|true"]> ... </we:ifField>