Wählen Sie Ihre Sprache:

<we:input type="checkbox">

Since version: 1.5.2 | Requires endtag: no

Description

This tag is used to create a checkbox with the possible states of "1" (active) or "" (inactive).

Attributes

type

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

Allowed values:

  • checkbox

name

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

Set this attribute to a unique name within the webEdition document.


value

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

Set this attribute to the predefined text which should appear in the input field.


reload

Default value: false | since version: 3.1.0.0 | required: no

Set this attribute to "true" to perform a reload of the web page after changing the value. Setting this attribute to "false" or not setting it, will not reload the page after the selection was made.

Allowed values:

  • true
  • false

user

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

Set this attribute to a list of comma seperated usernames. These are the users permitted to make changes. This attribute requires the User Management (Standard or PRO) Module.


htmlspecialchars

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

Using htmlspecialchars="true" will change all special chars into HTML entities ("&" is transformed to "&"). If htmspecialchars is "false" or not set, all special chars remain unchanged.

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:input type="checkbox" name="attribute" [value="attribute"] [reload="true|false"] [user="attribute"] [htmlspecialchars="true|false"] [cachelifetime="attribute"] />