Wählen Sie Ihre Sprache:

<we:hidden>

Since version: - | Requires endtag: no

Description

This attribute is used to generate a hidden HTML form field.

Attributes

name

Default value: - | since version: - | required: yes

Set this attribute to the name of a global PHP variable.


type

Default value: global | since version: 4.0 | required: no

With the type attribute you can select from where the value of the hidden field is taken. You can select between 'global', 'session' and 'request'. If you don't set a value for type, type='global' is used.

Allowed values:

  • global
  • request
  • session

xml

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

Setting this attribute to "true" generates code conforming to the XHTML standard. Leaving it unset or setting it to "false" generates HTML code.

Allowed values:

  • true
  • false

cachelifetime

Default value: 0 | since version: 4.2.0.0 | required: no

With this attribute you define the validity of the Cache in seconds for this we:Tag. This attribute is used only if cache type defined in the template is we:Tag Cache or Cache is disabled.


Syntax

<we:hidden name="attribute" [type="global|request|session"] [xml="true|false"] [cachelifetime="attribute"] />