--- title: "Date Picker Control" slug: "date-picker-control" updated: 2026-02-11T00:46:58Z published: 2026-02-11T00:46:58Z canonical: "docs.processmaker.com/date-picker-control" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.processmaker.com/llms.txt > Use this file to discover all available pages before exploring further. # Date Picker Control The Date Picker control allows the Request participant to select a date from a pop-up calendar. After the user selects a date from the control, the calendar hides and the control shows the selected date. Configure the Date Picker control to accept one of the following data types: - **Datetime:** The control accepts a datetime, which includes both date and time components: `YYYY-MM-DD HH:MM:SS`. Example: `"2020-07-01 14:25:15"` - **Date:** The control accepts a date: `YYYY-MM-DD`. Example: `"2020-07-01"` The display format of the Date Picker control is determined by the [**Date Format** settings](/v1/docs/profile-settings#change-your-profile-settings-1) in a [user's profile](/v1/docs/profile-settings). > [!NOTE] > ### Control Availability > > This control is only available for Form-type Screens. See [Screen Types](/v1/docs/screens#screen-types). > > ### Time Zone Impact on Date Controls > > When configuring date controls, process designers must consider that users' local [**Time Zone**](/v1/docs/edit-a-user-account#edit-user-settings) settings will affect how dates are displayed. > > ProcessMaker delivers date values (such as [Minimum Date](/v1/docs/date-picker-control#configuration-panel-settings)) in **UTC**, while the date picker automatically applies the time zone offset based on the user's local settings. As a result, the minimum selectable date may appear shifted depending on the user’s time zone. > > To ensure a consistent user experience: > > - Adjust the date configuration logic when necessary. > - Account for possible time shifts when defining [Minimum Date](/v1/docs/date-picker-control#configuration-panel-settings), [Maximum Date](/v1/docs/date-picker-control#configuration-panel-settings), or other [validation rules](/v1/docs/date-picker-control#variable-panel-settings). Watch the following product tours to learn how tos use a Date Picker control. Configure a Date PickerDisplay current date in a Form [Embedded content](https://cdn.iframe.ly/9uSfbPJ) [Embedded content](https://cdn.iframe.ly/SfTF6Lc) To display the current date in a form, enter the following JavaScript code in the [Default Value](/v1/docs/date-picker-control#default-value) setting of the Date Picker control. Otherwise, add the code in a [Calculated Property](/v1/docs/calculated-properties) as shown in the demo. ```plaintext var today = new Date(); var dd = String(today.getDate()).padStart(2, '0'); var mm = String(today.getMonth() + 1).padStart(2, '0'); //January is 0! var yyyy = today.getFullYear(); today = mm + '/' + dd + '/' + yyyy; return today; ``` > [!TIP] > The Date Picker control can also be used to validate datetime format. --- ## Add the Control to a Screen **Permissions** Your user account or group membership must have the following permissions to design a Screen unless your user account has the **Make this user a Super Admin** setting selected: - Screens: Edit Screens - Screens: View Screens See the [Screens](/v1/docs/permission-descriptions-for-users-and-groups#screens) permissions or ask your Administrator for assistance. Follow these steps to add this control to the [Screen](/v1/docs/screens): 1. [Create a new Form-type Screen](/v1/docs/create-a-new-screen) or [edit an existing one.](/v1/docs/manage-screens#edit-a-screen) 2. From the Controls Menu on the left, expand the **Input Fields** category, and then locate the **Date Picker** icon ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/49827ba5-6301-49eb-9e97-3459a2a930e6.png). 3. Drag and drop the control to the Screen Builder canvas. Existing controls in the Screen will adjust positioning based on where you drag the control. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/a8db96a3-a7cf-4206-9376-9269f436662c.png) 4. Configure the Date Picker control. See [Settings](/v1/docs/date-picker-control#inspector-settings). 5. Validate that the control is configured correctly. See [Validate Your Screen](/v1/docs/validate-and-publish-a-screen#validate-a-processmaker-screen). The following screen uses a Date Picker control to select leave dates. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/7f45b67b-1b0f-4a76-97c7-58392c0717e5.png) Date Picker control in Preview mode --- ## Settings The Date Picker control has the following configurable settings in the Properties Panel: - [**Variable** panel](/v1/docs/date-picker-control#variable-panel-settings) - [**Configuration** panel](/v1/docs/date-picker-control#configuration-panel-settings) - [**Design** panel](/v1/docs/date-picker-control#design-panel-settings) - [**Advanced** panel](/v1/docs/date-picker-control#advanced-panel-settings) --- ### Variable Panel Settings Expand the **Variable** panel from the Properties Panel on the right to configure the following properties: #### Variable Name The **Variable Name** setting value represents data in this control during Requests. Ensure that the **Variable Name** setting value is a unique name from other controls in this [Screen](/v1/docs/screens) and contains at least one letter. This is a required setting. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/3830f2da-b114-4951-8882-857f26963bb0.png) Use the **Variable Name** setting value in the following ways: - Reference this control by its **Variable Name** setting's value. The **Data Preview** panel in Preview mode corresponds with the Date Picker control's entered datetime with that Date Picker control's **Variable Name** value. In the example below, `DatePickerControl` is the **Variable Name** setting's value. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/be55133c-b3d6-41d8-9b5b-d8bb7c0283b0.png) - Reference this control's value in a different Screen Builder control. To do so, use [mustache syntax](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/mustache.5(4).html) and reference this control's **Variable Name** value in the target control. Example: `{{ DatePickerControl }}`. - Reference this value in [**Visibility Rule** setting expressions](/v1/docs/date-picker-control#visibility-rule). See [best practices](/v1/docs/screen-design-best-practices#naming-request-variables-for-processmaker-screen-controls) when editing a Request variable name. #### Label Edit the default label that displays for this control if necessary. **New Date Picker** is the default value. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/008d1cd7-0a44-4201-a154-49b6894d5617.png) #### Data Type Select one of the following data type options this control accepts when the Request participant enters content into this control: - **Datetime:** The control accepts both date and time inputs. For example, select the date in your form and then choose the time. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/5d6db9de-e622-4890-b0fa-b994d69a36ab.png) - **Date:** The control accepts a date. This is a required setting. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/30dd38d1-9444-4890-9449-fe0ab1879112.png) #### Validation Rules Enter the validation rule(s) the Request participant must comply with to properly enter a valid value into this control. This setting has no default value. If there are no configured validation rules the following message displays: **No validation rule(s)**. See [Validation Rules for "Validation" Control Settings](/v1/docs/validation-rules-for-screen-controls). ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/5c725845-52a3-43c2-abd4-6485d63dad2e.png) Follow these steps to edit a validation rule for this control: 1. Access the [**Variable** panel for this control](/v1/docs/select-list-control#variable-panel-settings) while in Design mode, and then locate the **Validation Rules** setting. 2. Click the **Add Rule** button. The **Select** drop-down menu displays. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/2f24f42e-d69c-4a05-b159-1a76aa78a4d4.png) 3. Select the rule that this control validates against. 4. Click **Save**. Parameters for the selected rule display. Parameter settings display which ones are required to properly configure the rule. 5. Enter the parameter settings that this control uses to validate against. See [Validation Rule Settings](/v1/docs/validation-rules-for-screen-controls#validation-rule-settings), and then locate the validation rule for its parameters. Follow these steps to edit a validation rule for this control: 1. Access the [**Variable** panel for this control](/v1/docs/select-list-control#variable-panel-settings) while in Design mode, and then locate the **Validation Rules** setting. 2. Click the **Edit** icon ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/2b60f7df-4687-45d5-b6b3-fa9963612d5c.png) for the validation rule to edit if that rule can be edited. Validation rules that do not have parameters cannot be edited. The parameter settings for that validation rule displays. 3. Edit the parameter settings that this control uses to validate against. See [Validation Rule Settings](/v1/docs/validation-rules-for-screen-controls#validation-rule-settings), and then locate the validation rule for its parameters. Follow these steps to delete a validation rule for this control: 1. Access the [**Variable** panel for this control](/v1/docs/select-list-control#variable-panel-settings) while in Design mode, and then locate the **Validation Rules** setting. 2. Click the **Delete** icon ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/9c2ca09b-915c-4ca8-96ce-f2a7bdd7372c.png) for the validation rule to delete. A message displays to confirm deletion of the validation rule. 3. Click **Delete**. #### Make Required Select to indicate that this control is required. This option is not selected by default. This is a quick way to add the [Required](/v1/docs/validation-rules-for-screen-controls#required) validation rule. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/db4896ff-925c-462b-8f4b-774531da6bce.png) In the Screen preview or during a Request, the control displays with a red-colored asterisk. If you submit the Screen without selecting this required Checkbox, this control displays **Field is required** in red-colored text. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/dbba5248-00a3-457f-b91f-a113219d9694.png) #### Read Only Select to indicate that this control cannot be edited. This option is not selected by default. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/7615a5c8-d20a-48b2-91c9-025a827e2ee9.png) --- ### Configuration Panel Settings Expand the **Configuration** panel from the Properties Panel on the right to configure the following properties: #### Minimum Date Enter the Minimum Date to specify the earliest date available for selection from the pop-up calendar. Supported formats include [ISO8601](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/iso-8601-date-and-time-format.html) or mustache syntax. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/57d6541c-6ef6-43d3-8e55-fdcc52b35f59.png) #### Maximum Date Enter the Maximum Date to specify the latest date available for selection from the pop-up calendar. Supported formats include [ISO8601](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/iso-8601-date-and-time-format.html) or mustache syntax. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/e845e60c-35ba-4584-993d-f6d7abb6ac17.png) #### Placeholder Text Enter placeholder text to display in this control when no value has been provided. This setting has no default value. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/8ec3810d-2a7e-484e-9c14-67aaa73e3034.png) #### Helper Text Enter text that provides additional guidance on this control's use. This setting has no default value. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/59ce3c98-5e5b-4f33-8f55-9591026dccf9.png) --- ### Design Panel Settings Expand the **Design** panel from the Properties Panel on the right to configure the following properties: #### Text Color Select the text color that displays for this control. Optionally, click the **Clear Color Selection** option to remove the selected color. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/1434bcf3-5a7e-4db8-8b20-cd01142c6b48.png) #### Background Color Select the background color that displays for this control. Optionally, click the **Clear Color Selection** option to remove the selected color. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/1cce111d-b3d7-44ff-9411-401dce5d329c.png) For instance, the date picker field **Date** has a red text color, and a yellow background hue. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/6ddcfa46-3913-4371-841b-c257d9363857.png) --- ### Advanced Panel Settings Expand the **Advanced** panel from the Properties Panel on the right to configure the following properties: #### Default Value Enter the default value this control displays. The default value can be assigned as a Request variable, text or JavaScript. When the Screen submits, the Request uses this control's default value unless the Request participant changes it. When using a [Request variable](/v1/docs/request-variable) in the **Default Value** setting, consider the following: - If the Request variable is empty, the control does not display any value by default. - When the Request variable is assigned a value for the first time, this value becomes the permanent default value of the control. - Any further changes to the Request variable do not affect the default value of the control. The **Default Value** setting supports using Request variables in [mustache syntax](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/mustache.5(4).html). For example, if the **Default Value** setting is `{{ date }} {{ time }}` from which a Request participant entered date and time in separate controls (respectively) earlier in that Request, this control displays the contents of those controls by default during the Request. There are two ways to enter the default value this control displays. - Enter the default value as text or use a Request variable in mustache syntax. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/65a2c409-867a-4aa6-899f-de2dd6a2e944.png) - Enter the default value as JavaScript, especially if a Calculated Property might change this default value setting. Ensure to use the `this.` JavaScript keyword preceding the Screen control reference. Example: `this.date` when `date` is the **Variable Name** setting value for the control to set its default value. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/a93e675e-c3b9-46bf-9d43-b64d1c38d904.png) #### Visibility Rule Specify an expression that indicates the condition(s) under which this control displays. See [Expression Syntax Components](/v1/docs/feel-expression-syntax#show-or-hide-screen-builder-controls). If this setting does not have an expression, then this control displays by default. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/d870b85b-56a8-40a6-a8cb-5684be099386.png) For example, this control displays if the variable value **tip** is **1**. For a detailed example of the Visibility Rule setting, see [Show or Hide Controls Based on Button Selection](/v1/docs/example-show-or-hide-controls-based-on-button-selection). Note the following regarding how to use visibility rules: - To make this control hidden until another control contains a value, enter the **Variable Name** setting value of that control to this control's **Visibility Rule** setting. - [Visibility rules override custom CSS settings](/v1/docs/screen-design-best-practices#visibility-rules-override-custom-css-settings). #### Device Visibility Select on which device types this control displays: - **Desktop:** The control displays only on desktop devices. Enable the **Show for Desktop** toggle key. - **Mobile:** The control displays only on mobile devices. Enable the **Show for Mobile** toggle key. - **Both:** The control displays on both desktop and mobile devices. Both toggle keys are enabled by default. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/eccca664-4e23-4cca-a22b-5c59de932006.png) #### CSS Selector Name Enter the value to represent this control in custom CSS syntax when in [Custom CSS](/v1/docs/custom-css#add-custom-css-to-a-processmaker-screen) mode. As a best practice, use the same **CSS Selector Name** value on different controls of the same type to apply the same custom CSS style to all those controls. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/ab211780-c1f1-42e9-8a7d-d5a36851be1d.png) Then, use this name in the [Custom CSS](/v1/docs/custom-css#apply-css-to-specific-processmaker-screen-controls) feature to apply CSS styling to this control as follows: ```plaintext [selector='Submit Form'] {    color: blueviolet; } ``` See the following best practices regarding custom CSS in Screens: - [Editing a CSS name to represent this control in custom CSS syntax](/v1/docs/screen-design-best-practices#css-selector-naming-best-practice) - [Visibility rules override custom CSS settings](/v1/docs/screen-design-best-practices#visibility-rules-override-custom-css-settings) --- ### Accessibility Panel Settings The **Accessibility** panel centralizes settings that enhance screen-reader compatibility and overall usability. ARIA Label setting persists through import, copy/paste, versioning, and upgrades, supporting a more inclusive and standards-aligned Screen Builder experience. #### Aria Label Enter the string that provides a text alternative to this control for the following purposes: - Assistive technology, such as screen readers, read the **Aria Label** setting value. - This control has a visual indication of its purpose, such as a control that uses a graphic instead of text, but still needs to clarify that purpose for anyone who cannot access the visual indication. The **Aria Label** setting value replaces the [**Label** setting](/v1/docs/date-picker-control#label) value. For example, if a control has both a **Label** setting value and an **Aria Label** setting value, assistive technology only uses the **Aria Label** setting value. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/57a6f5af-5fac-46c6-9b67-c8e7522a1603.png) #### Tab Order Tab order determines the sequential navigation order to navigate a Screen's controls using a keyboard interface. Assistive technology users often use a keyboard for navigation. [See best practices for setting the tab order for a Screen's controls](/v1/docs/screen-design-best-practices#tab-order-for-keyboard-navigation). Enter the number for the sequential keyboard navigation order that this control takes focus amongst other controls in this Screen. ![](https://cdn.document360.io/2d311614-fcb7-4424-8b4c-d4d3091eebeb/Images/Documentation/401a3a51-4063-4dee-b96c-3db80451569b.png)