Orbeon Forms
Search…
⌃K

Date

What it does

The date component is designed to enter a date, without time. On the desktop, the component shows as a field with a linked date picker.

Basic usage

You use the date component like a regular input field, for example:
<fr:date ref="birth-date">
<xf:label>Birth Date</xf:label>
</fr:date>

Datatype

fr:date must be bound to xs:date.

Parameters

[SINCE Orbeon Forms 2022.1]
fr:date supports parameters, which you can set via properties, Form Builder settings, or directly on fr:date:
  • week-start-day
    • first day of the week
    • values: sunday or monday
    • default: when not specified, the start day depends on the language (for example Sunday for English, Monday for French)
These are the default values of the properties:
<property
as="xs:string"
name="oxf.xforms.xbl.fr.date.week-start-day.*.*"
value=""/>

Mobile support

On iOS, the control uses the native date picker instead of presenting the field and custom date picker.

See also