Wählen Sie Ihre Sprache:

<we:ifSearch>

Since version: - | Requires endtag: no

Description

By setting the <we:ifSearch>-tag, the contents between start- and endtag are only displayed, if a search term has been transmitted by <we:search> and is not empty. If the attribute "set" is set to "true", only the request-variable of <we:search> is validatetd for not being set.

Attributes

name

Default value: - | since version: 3.0.0.5 | required: no

Set this attribute to the name set as value for the attribute "name" at <we:search>. If you have not set a "name" there, this attribute has not to be set.


set

Default value: - | since version: 3.0.0.5 | required: no

If you set this attribute to "true", only the non-existence of the REQUEST variable of <we:search> is validated.

Allowed values:

  • true
  • false

Syntax

<we:ifSearch [name="attribute"] [set="true|false"]> ... </we:ifSearch>