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 Icon Disappear on click of DateField

SA-44081

Summary



User has configured mandatory fields in the section and when clicking on the submit without filling the values,the error is thrown. When user is clicking on the mandatory field, it is clearing of the error icon only for one of the filed.

Error Messages



Not applicable


Steps to Reproduce



1. Create three integer fields say int1 , int2 and int3.
2. For int3 create a Declare expression and use int1 in that Declare expression.
3. Use int1 and int 2 properties in a section.
4. On post processing use a Obj-validate which will have a validation of required condition for all these properties.
5. Run the flow and click on submit without filling any data.
6. Now see the error icons (due to required conditions on the integer fields) , so fill some integer value to these fields.
7. Observe that for one the error icon persists while for the other it does not.


Root Cause



A defect in Pegasystems’ code that if a Declare expression is there for a property then during validation it searches for a property having id ="CV" which makes the difference in the behavior for the property having validation as "calculate expression" in the Document Object Model (DOM).

Resolution



Perform the following local-change:

By keeping a Target property of any Declare expression in the screen, this issue can be resolved (as it adds a div containing id as "CV").

Published December 19, 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