« Back to Product

Documentation

SelectDate

Require: IP-Symcon >= 5.0

Creates an input for a date with the caption caption.

Example

If created in the "elements" area, the property name is set to a JSON-coded object, which contains the following parameters:

Parameter Description
day Day of the date
month Month of the date
year Year of the date

If no time was selected, all parameters are set to 0.

Parameters

Parameter Description
caption Visible caption
enabled (optional) (default: true) If true, the selection can be used, otherwise it is displayed as deactivated (since IP-Symcon 5.2)
name (optional) Name of the selection/the property to be set
type SelectDate
value (optional) (default: no time selected) The value of the selection - If there is an associated property, this parameter will be overwritten by the property in the elements area (since IP-Symcon 5.2)
visible (optional) (default: true) If true, the selection is visible, otherwise it is invisible (since IP-Symcon 5.2)
width (optional) (default: 300px) Fixed width of the input field in pixels or % as a string, e.g. "40%" or "250px" (since IP-Symcon 5.3)

Example

{ "type": "SelectDate", "name": "PropertyDate", "caption": "date" }
Any questions?