Overview #
Date or Date/Time Picker.
Field Type Parameters: #
Type
(optional) – Date or Date/Time
Value Processing Parameters: #
Basic usage:
{{ FieldName }}
Usage with parameters:
{{ FieldName(Format) }}
Format
(optional) – PHP date format, e.g., ‘Y-m-d H:i:s’ or Joomla defined format (language supported) if left empty. Use ‘timestamp’ to return the datetime in UNIX timestamp format.
Example:
{{ FieldName("Y-m-d") }}
Pure Value (Unprocessed): #
Example:
{{ FieldName.value }}
Edit Record Parameters: #
Adds a date input field that allows users to select dates using a calendar picker. The date can be formatted according to specified date format patterns.
Basic usage:
{{ FieldName.edit }}
Usage with parameters:
{{ FieldName.edit(CSS Class, Attributes, Format) }}
CSS Class
(optional) – Name or names of CSS class(es).Attributes
(optional) – Optional attributes like: disabled, onclick, onchange, etc.Format
(optional) – PHP date format, e.g., ‘Y-m-d H:i:s’
Example:
{{ FieldName.edit("inputbox",onclick='alert(1)',"Y-m-d") }}
Leave a Reply
You must be logged in to post a comment.