Date
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.
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>
fr:date
must be bound to xs:date
.[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
ormonday
- 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=""/>
On iOS, the control uses the native date picker instead of presenting the field and custom date picker.
Last modified 1yr ago