Skip to main content

Date and time field

Log in to add to favourites

The date and time field editors have four distinct flavours, providing the flexibility to capture the data you require.

TypeSummary
DateA single date picker.
Date and timeA date and time picker.
Date rangeTwo date pickers to provide a range.
Date and time rangeTwo date and time pickers to provide a range.

The date range editors become available when the format of a Date / Time field is set to Range.

Note: Contensis does not support time without a date, as we store date and times as Coordinated Universal Time (UTC). While there may be some use cases for time on its own, we recommend you use a text field with a regular expression for validation.

Appearance

Settings

Setting nameSummary
NameA text label to identify the field in an entry.
Field IDA sanitised name to be used by the API.
Read onlyPrevents authors from editing the field in the entry editor.
RepeatableAllows an author to create a collection of content of the same type.

Supported validation

This field editor supports the following validation methods:

Properties

Common properties

Property nameSummary
Placeholder textThe placeholder property provides a short hint describing the expected value of a field.
Content guidelinesProvides guidance to an author for the expected content the field should contain.

Past dates

This property determines whether an author can select a date in the past, e.g. a date less than today. This is enabled by default.

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request