PROCESIO
OverviewPlatform ActionsIntegrations & DemosCustom ActionsDeveloper’s Guide

Date-time Input

The DateTime control lets you capture or display date and/or time values in your forms with flexible configuration options. It supports multiple…

📅 DateTime Control — PROCESIO Forms

The DateTime control lets you capture or display date and/or time values in your forms with flexible configuration options. It supports multiple modes, customizable intervals, range restrictions, and event triggers.

🌟 Features & Modes

🔹 Modes

Choose how the control behaves:

ModeDescription
dateTimeUser selects both date and time
dateOnly date selection
timeOnly time selection
📌 Default: dateTime

🔹 Inline View Mode

  • When enabled (inline: true), the control renders directly in the form instead of using a popup calendar/time picker.
  • Ideal for always-visible date/time selection controls.

📏 Range Limits

🔹 Min & Max

Define the valid selection boundaries:

PropertyPurpose
minDateEarliest date/time allowed
maxDateLatest date/time allowed

These prevent users from picking values outside the desired range.

🚫 Disable & Enable Specific Ranges

🔹 Disabled Intervals

  • Use disabledDates to block specific dates or intervals.
  • These values are lower priority than availableDates.

🔹 Available Intervals

  • Use availableDates to explicitly define allowed intervals.
  • Takes precedence over disabled sets — only these ranges are selectable if defined.

Time Intervals

Configure the minute step for time selection:

PropertyPurpose
minuteIntervalStep in minutes between selectable times (only in time/dateTime)

Example: Setting this to 15 allows only 15-minute increments.

🧠 Other Useful Options

PropertyFunction
disabledMake control non-interactive
readonlyUser can view but not edit
visibleShow/hide the control
clearableAllow clearing the value
hasNowOffers a quick “Now/Today” button
showDisabledTimeOptionsShow disabled time options in list
requiredMark field as mandatory

🔄 Events & Mapping

  • You can map control events (e.g., value change) to Trigger Process or Trigger JavaScript actions enabling automation workflows when users interact with the control.

Examples include:

  • Triggering a process when the date changes.
  • Running custom JavaScript based on user input.

🧪 Typical Usage Scenarios

✔ Collect birth date only

  • Set mode: "date"

✔ Schedule a meeting

  • Use mode: "dateTime"
  • Define minuteInterval: 15 for common time slots
  • Restrict with minDate and maxDate

✔ Time-only slot booking

  • Set mode: "time"
  • Use availableDates to limit available hours

API

NameDescriptionTypeValuesDefault
labelDisplay label.String
modeInput mode.StringdateTime,
date, time

dateTime
inlineInline view.Booleanfalse
placeholderHint text.String
tooltipHelp text (displayed with label).String
infoTextAdditional info displayed under input.String
defaultValueInitial value.Date | String | null
minDateMinimal value.Date | String | null
maxDateMaximal value.Date | String | null
disabledDatesDisabled date-time intervals. This value has lower priority compared to availableDates.Array<
String | Date |
{
start: Date |
String | null;
end: Date | String |
null;
} >
[]
availableDatesAvailable date-time intervals. This value has priority over disabledDates.Array<
String | Date |
{
start: Date |
String | null;
end: Date | String |
null;
} >
[]
minuteIntervalMinute interval. Applicable to dateTime and time modes.Number1
valueCurrent value.Date | String | null
readonlyIf true, input is readonly.Booleanfalse
disabledIf true, input is disabled.Booleanfalse
visibleIf false, element is hidden.Booleantrue
clearableIf true, can clear value.Booleanfalse
hasNowQuick “Today/Now” option.Booleantrue
showDisabledTimeOptionsShow disabled time options. Applicable to dateTime and time modes.Booleanfalse
nameUnique element name.String
idUnique element ID.String
requiredIf true, input is mandatory.Booleanfalse

For support, please join our Discord community for further assistance and support.

On this page