Wählen Sie Ihre Sprache:

<we:userInput type="date">

Since version: 2.2.0.0 | Requires endtag: no

Description

This tag is used to generate a series of drop-down menus that enable date entry.

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:

  • date

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

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

format

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

Set this attribute to a format string. Valid parameters are:

d Day of the month with a leading zero: "01" to "31" D Day of the week in short form. For example, "Mo" F Month in long form. For example, "January" g Hour based on 12 hour clock without leading zero, that is, "1"-"12" G Hour based on 24 hour clock without leading zero, that is, "1"-"24" h Hour based on 12 hour clock, that is, "01"-"12" H Hour based on 24 hour clock, that is, "01"-"24" i Minutes, that is, "00"-"59" j Day of the month without leading zero, "0"-"31" l (lower case 'L') Long form of week day. For example,"Monday" m Month, that is, "01"-"12" M Short form of month. For example, "Jan" n Month without a leading zero s Seconds, "00"-"59" t Number of days in the current month, that is, "28","29","30" or "31" w Day of the week in numeric form, that is, "0"-"6" Y Four digit year. For example, "1999" y Two digit year. For example, e..g. "99" z Day of the year, that is, "0" - "366"


value

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

Set this attribute to a default value.


hidden

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

Set this attribute to "true" to hide the drop-down menus, and to fill the field with the current date. Set it to false to cause the drop-down menus to be displayed normally.

Allowed values:

  • true
  • false

Syntax

<we:userInput type="date" name="attribute" [property="true|false"] [editable="true|false"] [format="attribute"] [value="attribute"] [hidden="true|false"] />