Date & Time
The Date/Time component is a powerful and flexible field that offers many options for validation, date ranges, and calculations using Moment.js.
Unique Settings:
- Display In Timezone: Displays the captured date time in the selected timezone.
- Use Local Settings: Uses the Date/Time of your local machine.
- Allow Manual Input: Allows manual entry or forces users to select from the calendar widget.
- Format: Sets the format for displaying Date/Time (default:
yyyy-MM-dd hh:mm a
).
Date Settings:
- Enable Date Input: Enables selectable dates from the calendar widget.
- Disable Specific Dates: Disables specific dates or ranges of dates.
- Disable Weekends/Weekdays: Disables weekends or weekdays in the calendar.
Time Settings:
- Enable Time Input: Enable or disable the time input.
- 12 Hour Time (AM/PM): Displays the time in 12-hour format with AM/PM.
Validation:
- Default Date: Sets a default date using Moment.js.
- Use Calendar To Set Min/Max Date: Uses the calendar picker to set minimum and maximum dates.
- Use Moment.js To Set Min/Max Date: Allows Moment.js to set date ranges.