<we:dateSelect>
Since version: 2.3.0.0 | Requires endtag: no
Description
The <we:dateSelect>-Tag displays a select field for dates, which can be used together with the <we:processDateSelect>-Tag to read the date value into a variable such as a UNIX timestamp.
Attributes
name
Default value: - | since version: 2.3.0.0 | required: yes
Set this attribute to a unique name.
class
Default value: - | since version: 2.3.0.0 | required: no
Name of a CSS class.
submitonchange
Default value: - | since version: 2.3.0.0 | required: no
If this attribute is set to true, the form which encloses the <we:dateSelect>-Tag will be submitted after changing the date.
Allowed values:
- true
- false
start
Default value: - | since version: 4.0 | required: no
Setting this attribute to the date, which could be minimally selected. (Format: YYYY-MM-DD HH:MM)
end
Default value: - | since version: 4.0 | required: no
Setting this attribute to the date, which could be maximally selected. (Format: YYYY-MM-DD HH:MM)
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:dateSelect name="attribute" [class="attribute"] [submitonchange="true|false"] [start="attribute"] [end="attribute"] [cachelifetime="attribute"] />
Examples
Example