Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Disabling the selection of weekend days

Updated on November 15, 2021
Applicable to Theme UI-Kit applications

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: In the layout of the form that you are editing, complete the following task: Adding a Date time control to a layout.
This setting is ignored if the Use native control on mobile option is selected.
  1. Click the control, and then click the View properties icon.
  2. On the Presentation tab of the Properties panel, select the Disable weekends option.
  3. Select the calendar that determines which dates are considered weekend (non-working) days:
    • To specify the calendar associated with the user's operator record to determine which dates are considered weekend dates, click Default business calendar.
    • To specify a different calendar select Other calendar and press the Down Arrow key in the Business Calendar field to select the calendar that defines weekend dates.
  4. Click Submit.
  • Previous topic Displaying week numbers in calendar widgets
  • Next topic Specifying presentation options for a Date time control

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us