Difference between revisions of "Timezone form field type"
From Joomla! Documentation
(Added deprecation notice and link to Joomla Manual) |
|||
Line 1: | Line 1: | ||
<noinclude><languages /></noinclude> | <noinclude><languages /></noinclude> | ||
+ | {{Warning|This page has been superseded and is no longer maintained. Please go to [https://manual.joomla.org/docs/general-concepts/forms-fields/standard-fields/timezone Joomla Manual Timezone Field] instead}} | ||
+ | |||
<translate><!--T:1--> | <translate><!--T:1--> | ||
The '''timezone''' form field type provides a drop down list of time zones. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.</translate> | The '''timezone''' form field type provides a drop down list of time zones. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.</translate> |
Latest revision as of 15:41, 16 July 2024
This page has been superseded and is no longer maintained. Please go to Joomla Manual Timezone Field instead
The timezone form field type provides a drop down list of time zones. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is selected.
- type (mandatory) must be timezone.
- name (mandatory) is the unique name of the field.
- label (mandatory) (translatable) is the descriptive title of the field.
- default (optional) (translatable) is the default time zone. For example, use '-10' for '(UTC -10:00) Hawaii'.
- description (optional) (translatable) is text that will be shown as a tooltip when the user moves the mouse over the drop-down box.
Example XML field definition:
<field name="mytimezone" type="timezone" default="-10" label="Select a timezone" description="" />