Skip to main content

Table of Contents

Disabling the selection of weekend days

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.

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.

Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us