<we:userInput type="checkbox">
Since version: 2.2.0.0 | Requires endtag: no
Description
This tag is used to generate an HTML checkbox input field, which permits input to webEdition from the front end (that is, without having to log in to webEdition).
Specific
This tag may only be used between the start and end of <we:form type="document"> or <we:form type="object"> tags.
Attributes
type
Default value: - | since version: - | required: yes
Allowed values:
- checkbox
name
Default value: - | since version: 2.2.0.0 | required: yes
Set this attribute to a unique name within the webEdition document.
property
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to "true" to refer to a property of the webEdition document/object. Otherwise the tag refers to the webEdition document/object fields defined in the template/class. Some possible properties of a webEditon document are: DocType, Category, IsSearchable, Extension, Published, IsDynamic, ParentID, ParentPath, Text, Filename, Path, CreationDate, ModDate, Owners, OwnersReadOnly, CreatorID, ModifierID, RestrictOwners.
Allowed values:
- true
- false
checked
Default value: - | since version: 2.2.0.0 | required: no
If you set this attribute to "true" the system activates the checkbox by default. If you do not set it or if you set it to "false", the system generates an unchecked checkbox.
Allowed values:
- true
- false
editable
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to "true" to generate an editable field. Set it to "false" to display a value which is not editable.
Allowed values:
- true
- false
Syntax
<we:userInput type="checkbox" name="attribute" [property="true|false"] [checked="true|false"] [editable="true|false"] />