Disabling the selection of weekend days
To make it easier for users to select valid dates, you can disable weekend dates so that users cannot select them in your application. Weekend (non-working) dates can be based on the user's calendar or on another business calendar.
Before you begin: Add a DateTime control to a layout.
This setting is ignored if the Use native control on mobile option is selected.
- On the Presentation tab of the Properties panel, select the Disable weekends option.
- Select the calendar that determines which dates are considered weekend (non-working) days:
- Default business calendar – The calendar associated with the user's operator record determines which dates are considered weekend dates.
- Other calendar – To specify a different calendar, select this option and press the Down Arrow key in the Business Calendar field to select the calendar that defines weekend dates.