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

Validation does not trigger on collapsing a grid record



Validation does not trigger on collapsing a grid record. However, validation is triggered on expanding a row.

Error Messages

Not Applicable

Steps to Reproduce

  1. Configure an expand or a collapse grid.
  2. In the expanded section, configure fields with validations.

Root Cause

The same section is present twice in the Document Object Model (DOM). The text input property is also present twice with the same name and ID attributes. A value is entered for one element. Since the other element though not visible on the screen has an value empty, this empty value is passed on click of the 'Submit' button. This resulted in Validation errors.


Perform the following local-change:

Uncheck the 'Run visibility condition on client' on both the dynamic layout's Visibility condition.

Published December 19, 2019 - Updated December 2, 2021

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