Support Article
Validation error not visible inside Grid cell and top of screen
Summary
Have a repeat grid and a field has edit validate and edit input,on editing that cell with invalid value validation error on cell or top of the page does not appear and also formatting not happening for the provided input.
Error Messages
Not applicable.
Steps to Reproduce
1.Create a repeating grid with DataPage as source and make the grid inline click editable.
2.Add edit validate rule in one property and use that property in grid column.
3.Run the case and click grid row to edit values.
4.Provide invalid value and observe validation error is not coming.
Root Cause
A defect in Pegasystems’ code or rules.
When grid is sourced with Datapage, then property level formatting(Edit Input) or validation(Edit-Validate) are triggered, datapage has errors(clipboard has errors in datapage) but since no refresh action is happening, in UI errors/ formatted values are not rendered .
User has a custom control, PhoneNumber where they are trying to format the provided number with a validation. User has modified the custom control to pxTextInput and added edit validate rule to the property, still the issue exists.
Resolution
Perform the following local-change steps:
1.For property present inside grid, in presentation tab Advanced Presentation Options, add "custom_phno" as readonly or read-write style classes.
2.Add custom_phno in custom style in skin rule.
3.In the actions tab "On Change Refresh Section" added or formatted values are not visible.
4.In userworkform, add the following style as css for error icon position not proper:
.custom_phno .iconErrorDiv .iconError{
margin-left:5px !important;
margin-top:-17px !important;
}
Published July 28, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.