DatePicker
Field options
Name | Type | Description |
---|---|---|
name | string | The name by which the field will internally be referenced |
displayText | string | The main field label displayed above the field |
description | string | An additional description displayed below the main label |
defaultValue | string | The value the field should initially be filled with in ISO format, e.g. 2018-01-01 |
options | object | Additional field options (see below) |
options.required | boolean | Whether the field must be filled to advance |
options.readOnly | boolean | Whether it’s allowed to change the field value |
options.confirmation | boolean | Whether to include this field in the confirmation page |
JSON Example
{
"name": "Date",
"displayText": "Choose a date",
"description": "This is a date picker field.",
"type": "DatePicker",
"defaultValue": "2018-01-01",
"options": {
"required": true
}
}