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

Grid level validations not working as expected

SA-57199

Summary



Validations in repeating grids are set using the OnChange event. After clicking a different field in a row or clicking the same field and changing focus to a different location, the validations set on the fields do not display.


Error Messages



Not Applicable


Steps to Reproduce

  1. Set a validation message on a field using OnChange event.
  2. Click any other field in the respective row > Return to the field containing the message > Change the focus to a different location.

    Or

    Click the field which has the validation message > Change the focus to a different location.


Root Cause



If state of the value of the cell was not changed, the OnChange validation is not invoked on the grid. 

Resolution


 

Perform the following local-change:

  1. Change Row editing to master-detail in the Operation tab of the grid configuration.
  2. Create a flow action.
  3. Add all the columns as text input. 
  4. Invoke an activity in the post processing activity of the flow action given in the modal dialog.
  5. Perform the validation on the activity.
An enhancement request, FDBK-26308, is created for consideration by Pega Product Management.

Published December 6, 2018 - Updated October 8, 2020

Was this useful?

100% 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