Skip to main content

Date attribute

Store a date value

A Date attribute can store a single date in ISO 8601 format: yyyy-mm-dd

Configuration

When adding or editing a Date attribute on a design/interface, you can configure the following properties. These determine how the attribute will behave when users populate its value on corresponding items.

  • Name * - enter a distinct name that clearly identifies the attribute.

  • Required - if enabled, the attribute will need to be populated with a value before the item can be saved. It can't be left blank!

  • Read-only - if enabled, the attribute can only be populated when creating items. It can't be edited later!

  • Unique - if enabled, the attribute won't accept a value that's already stored in the same attribute on another item of this design/interface.

  • Default value - the attribute will automatically be populated with this value, which can usually be changed before saving (unless it's Read-only or excluded from an item form).
  • Min - the attribute won't accept a value occurring before this date.

  • Max - the attribute won't accept a value occurring after this date.

  • Tags - use the Tag Manager to select a custom tag or relevant system tag.

The properties of a Date attribute
info

The read-only Code field shows the attribute's Global Unique Code (Guc).

Populate the attribute on items

When creating or editing an item, select the attribute to open the calendar picker. Use the purple bar to set the year and month, then select the day.

A Date attribute field
Selecting a date value in the calendar picker