Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

DateTime control is updated with current date on section refresh



DateTime control is updated with the current date on section refresh when an incorrect date format is entered.

Error Messages

Not Applicable.

Steps to Reproduce

  1. Create a section rule
  2. Add a DateTime control and one dropdown control
  3. Configure the DateTime control to accept user text
  4. Configure OnChange event-action to refresh current section on drop down configuration
  5. Run the section and enter an invalid date format. For example, 09/2423424/2019 or 887878/09/2019
  6. Select a new value for dropdown after which section refresh is triggers and the DateTime value is updated with the current date

Root Cause

Inconsistent processing of incorrect date by native JavaScript.


Perform one of the below local-changes to restrict user to enter invalid dates:
  • Change Allow text entry to No 
  • Change Display mode to Text Input or Drop Down Lists


Suggest Edit

Published August 15, 2019 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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