On this page
Date Recur Default Values
Last updated on
25 January 2019
Default field value for Recurring Date field can be configured at the field instance level.
For a default value to work, the value must be considered valid and save-able as determined by Drupal. The field type requires start date, end date, and timezone to be set. Requirements can be seen by checking in on field schema or the DateRecurItem::isEmpty method.
RRULE is an optional default field value. To set a default RRULE, the other fields must also be set, per above.
Changing default values
- To change default values, navigate to the field edit settings page for a date recur field. (Field UI module must be enabled).
- Change default start-date and/or end-date to a value other than '- None -'.
- If using Relative date, enter a valid value.
- Configure the Start and end date time zone field. This is required if setting default start/end dates.
- Configure the Time zone field.
- Optionally, configure the RRULE field.
- Save the form.
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion