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 error gives blank section on refresh



When user enters a wrong date time value (for example:ffff) in the datetime field which is having Refresh-This section on-change action set configured on it, then the section is displayed blank after the refresh.

Error Messages

The standard error message is displayed

Steps to Reproduce

1. Create a section with one datetime field with action set Onchange-Refresh this section.
2. Run the case.
3. Provide invalid value to the datetime field. Section refreshes and section is not rendered.
4. Observe that t
he section is releaoded and then displayed blank, only the error message is displayed.

Root Cause

On refresh whole harness is getting refreshed which is causing to lose the base reference of the section.


Perform the following local-change:

Change the action defined on the DateTime field from "On-Change: Refresh this Section" to "On-change: Refresh other section" and mention the section name that you want to refresh by mentioning the proper class.[ Here in user's use case section name is 'CustomerInformation'].

Published April 11, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 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