Date field
The date field allows users to select a date. This can be used, for example, for the start and end of a meeting, a birth date, or the beginning of an employment relationship.
Configuration
The following options are available within the configuration:
- Title:
Enter the display name of the control element here. This is displayed to the users so that they know which control it is. - Internal name:
The internal name allows you to reference a control in placeholders or rules using a name other than the title. This field does not have to be filled in, but is helpful if you have several controls with the same title in a form.
- Mandatory field:
If you activate this option, people must fill in this field before the form can be transferred to the next process step via a button. In this way, you can force a form to have all the necessary information before it is sent.
Caching is possible at any time, even if mandatory fields are not filled in.
- Read-only:
If you mark a field as read-only, the field cannot be filled in by persons. This is particularly useful in combination with a default value in order to display certain values but not be able to change them. For example, you can display which person is currently logged in and accordingly record which person has sent a form.
- Exclude from PDF export:
The standard PDF export exports all control elements in the form. If you activate this option, the element is not included in the standard PDF export.
The control element can still be used manually in a document template.
- Format:
The format defines how the date values must be entered. The following formats are available:- Date:
This format allows users to select a simple date value without a time. This can be useful, for example, for a birth date. - Date with time:
This format allows users to select a time in addition to the date. This can be helpful, for example, for the start of a meeting. - Month only:
In this format, only a month and year are selected, without a specific day. This can be useful, for example, for the start of a membership.
- Date:
- Minutes interval:
This option is only available for the Date with time format. You can define how precisely the time can be selected.
For example, if 1 minute is chosen, the time can be selected to the exact minute. If 15 minutes is chosen, times can only be set to :00, :15, :30, or :45. - Default value:
Here, you can select either a fixed date value to prefill the field or use a placeholder for a dynamic date value.
For example, you can use a placeholder to insert the current date. - Earliest date:
By default, users can select any date value in this field. However, it might make sense to restrict this.
For example, if you select the current date as a placeholder here, only today’s date or future dates can be selected.
If you want to collect an end date, you can also reference the From field from the same form. - Latest date:
This allows you to define the latest date a user can select.
For example, using the current date placeholder, you can ensure that a date is always in the past or set to today.
- Help text:
If you enter a value here, a help icon () is displayed next to the control. People can click on this to display the help text. This allows you to give people help on an individual control.
Placeholder
This control provides a placeholder that you can use to reference the selected date value.
If the format is set to Date with time, you can also reference the date with time.