Description:
The date picker widget lets users select a date and/or time and stores the data in ISO format as JS.
Inputs
- Input Size - Select between any of the display sizes (mini, small, medium, large)
- ID/Name - Name of widget generated by FlowWright (read-only field)
- Use Default Date - Select the checkbox to display the current date (tick mark)
- Use Time - Select the checkbox to display the current time (tick mark)
- Required - Select the checkbox for mandatory (tick mark)
- Hide - Select the checkbox to Hide (tick mark)
- Read Only - Select the checkbox to Read-Only (tick mark)
- Minimum Date - Provide the minimum date for the date range
- Maximum Date - Provide the maximum date for the date range
- Tool Tip - Enter information to display on mouse hover on the form render
- Styles - Enter the CSS scripts for widget styles
- Apply Classes - Select between custom classes defined
- Save - Save the input values
- Delete - Remove this form widget from the designer page
- Close - Close the input popup window
Design:

Example:
Let’s build and execute the “DatepickerDef” example.
- Create a Form definition called “DatepickerDef.”
- Drag a “BootstrapGrid, Label, Datepicker, and Submit” control onto the canvas and arrange the controls as shown below.

- Double-click the “Datepicker” widget to configure the “Settings” properties. Select a display size from the drop-down list. Provide a name for the control. Select the “Default Date and Time” checkbox to display the current date and time at runtime. Select the “Required” checkbox to make user input mandatory. Select the “Hide” checkbox to hide the widget at runtime. Select the “Read-Only” checkbox to view the control without making a selection. Click the Save button.

- Double-click the “Datepicker” widget to configure the “Conditions” properties. Set the acceptable date range’s minimum and maximum. Click the Save button.

- Double-click the “Datepicker” widget to configure the “Styling” properties. Enter the CSS syntax. Select the classes to apply from the global drop-down list, then click the Save button.

- Double-click the “Datepicker” widget to configure the “Other” properties. Enter the tooltip text. Click the Save button.

- Double-click the “Datepicker” widget to configure the “Globalize” properties. The application will alert you if there is nothing to globalize, as shown below. Otherwise, select a language from the drop-down list, then click Translate. Click Save.

- Save the Form definition. Select the Actions - Create Form Instance menu option. Generate a new Form Instance, then select the check box to edit it.

- The Form is displayed to the user as shown below. Select the date and time, then click the Submit button to complete.

- Note: Selecting the datetime values outside the condition range is unacceptable.

Definition Sample:
You may download the sample definition(s) from the provided link and later import them (drag-and-drop) into your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
Note: Please verify and complete the process steps for any missing configurations, such as file path references and database connections, after the import. Then, save the definition to confirm the changes.
Click here to download the sample file.